commit | ac45f00d5a2d2bbb065efbe67a786efc5ddb60c5 | [log] [tgz] |
---|---|---|
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue May 24 13:50:21 2011 +0000 |
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue May 24 13:50:21 2011 +0000 |
tree | d3a7af0c7b9bdc6c081981526828c9bc00d8854f | |
parent | 69d05551332e61e22da4bd3b61fc6d065b461d4a [diff] |
return the bytes read, not the total provided git-svn-id: http://skia.googlecode.com/svn/trunk@1404 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/pipe/SkGPipeRead.cpp b/src/pipe/SkGPipeRead.cpp index 591b7e9..ecb19fd 100644 --- a/src/pipe/SkGPipeRead.cpp +++ b/src/pipe/SkGPipeRead.cpp
@@ -562,7 +562,7 @@ } if (bytesRead) { - *bytesRead = reader.size(); + *bytesRead = reader.offset(); } return status; }