Remove SkDynamicMemoryWStream::getOffset.
This method does the same thing as ::bytesWritten but has a confusing
name. It appears there are no external users, so remove it.
Change-Id: I06aed269200c34c2dda36605092f8ea37fcec693
Reviewed-on: https://skia-review.googlesource.com/6188
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
diff --git a/tests/PDFGlyphsToUnicodeTest.cpp b/tests/PDFGlyphsToUnicodeTest.cpp
index a256c93..0d87cd7d 100644
--- a/tests/PDFGlyphsToUnicodeTest.cpp
+++ b/tests/PDFGlyphsToUnicodeTest.cpp
@@ -90,7 +90,7 @@
endbfrange\n";
REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult,
- buffer.getOffset()));
+ buffer.bytesWritten()));
// Remove characters and ranges.
buffer.reset();
@@ -108,7 +108,7 @@
endbfrange\n";
REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResultChop1,
- buffer.getOffset()));
+ buffer.bytesWritten()));
// Remove characters from range to downdrade it to one char.
buffer.reset();
@@ -122,7 +122,7 @@
endbfchar\n";
REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResultChop2,
- buffer.getOffset()));
+ buffer.bytesWritten()));
buffer.reset();
@@ -139,7 +139,7 @@
REPORTER_ASSERT(reporter, stream_equals(buffer, 0,
expectedResultSingleBytes,
- buffer.getOffset()));
+ buffer.bytesWritten()));
glyphToUnicode.reset();
glyphsInSubset.reset();
@@ -176,5 +176,5 @@
endbfrange\n";
REPORTER_ASSERT(reporter, stream_equals(buffer2, 0, expectedResult2,
- buffer2.getOffset()));
+ buffer2.bytesWritten()));
}