aboutsummaryrefslogtreecommitdiff
path: root/tests/PathTest.cpp
diff options
context:
space:
mode:
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-31 16:24:08 +0000
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-31 16:24:08 +0000
commit081560e3abe25c4821b79ca1465f4dbd371c4b5c (patch)
treec6b87adb0a09e54eee77ba3363956738a1b7967f /tests/PathTest.cpp
parent94bdd7e3fcf493f827263bd922cb09fb4b50df4c (diff)
add SK_ATTR_DEPRECATED -- will need to disable for chrome, since it triggers a warning
BUG= R=robertphillips@google.com, senorblanco@chromium.org, vandebo@chromium.org Review URL: https://codereview.chromium.org/51033004 git-svn-id: http://skia.googlecode.com/svn/trunk@12055 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/PathTest.cpp')
-rw-r--r--tests/PathTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp
index 6544c0b8d7..d879ea6e33 100644
--- a/tests/PathTest.cpp
+++ b/tests/PathTest.cpp
@@ -1768,7 +1768,7 @@ static void write_and_read_back(skiatest::Reporter* reporter,
const SkPath& p) {
SkWriter32 writer(100);
writer.writePath(p);
- size_t size = writer.size();
+ size_t size = writer.bytesWritten();
SkAutoMalloc storage(size);
writer.flatten(storage.get());
SkReader32 reader(storage.get(), size);