diff options
author | halcanary <halcanary@google.com> | 2015-01-12 10:07:50 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-12 10:07:50 -0800 |
commit | 4fc48af0d7bec93a911d32330f251386a8adec98 (patch) | |
tree | 5f7335bed00f121fade421297dd117c8bebc2037 /tests/PDFPrimitivesTest.cpp | |
parent | 0899696e9fec7d376b63655bedaed76871cb15c2 (diff) |
Change function signature of SkPDFObject::emitObject.
Replace virutal SkPDFObject::emitObject(s, c, true) with non-virtual
SkPDFObject::emitIndirectObject(s, c), since none of the subclasses do
(or should do) anything different.
Replace object->emitObject(s, c, false) with object->emitObject(s, c)
This is one step in simplifying the SkPDFObject interface to allow for
the next step in refactoring.
Review URL: https://codereview.chromium.org/827733004
Diffstat (limited to 'tests/PDFPrimitivesTest.cpp')
-rw-r--r-- | tests/PDFPrimitivesTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PDFPrimitivesTest.cpp b/tests/PDFPrimitivesTest.cpp index 2ff98607fb..9421fc9597 100644 --- a/tests/PDFPrimitivesTest.cpp +++ b/tests/PDFPrimitivesTest.cpp @@ -205,7 +205,7 @@ static void TestObjectRef(skiatest::Reporter* reporter) { char expectedResult[] = "2 0 R"; SkDynamicMemoryWStream buffer; - int2ref->emitObject(&buffer, &catalog, false); + int2ref->emitObject(&buffer, &catalog); REPORTER_ASSERT(reporter, buffer.getOffset() == strlen(expectedResult)); REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult, buffer.getOffset())); |