diff options
author | vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-03-05 19:14:37 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-03-05 19:14:37 +0000 |
commit | cc46a0ab52de39b66baaf71add92aac34c662f0a (patch) | |
tree | 748b5d6628df0707b4e8aaee9e7c3b69c7c0233b /tests/PDFPrimitivesTest.cpp | |
parent | c0376febfc855870a0e109d39ee62e82f0ab2139 (diff) |
Fix copy paste error in test ref counting.
TBR=reed@google.com
Review URL: https://codereview.appspot.com/5727066
git-svn-id: http://skia.googlecode.com/svn/trunk@3320 2bbb7eff-a529-9590-31e7-b0007b416f81
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 1aed3ad981..f206062fa3 100644 --- a/tests/PDFPrimitivesTest.cpp +++ b/tests/PDFPrimitivesTest.cpp @@ -278,7 +278,7 @@ static void TestPDFPrimitives(skiatest::Reporter* reporter) { // Test that we correctly handle characters with the high-bit set. char highBitCString[] = {0xDE, 0xAD, 'b', 'e', 0xEF, 0}; SkRefPtr<SkPDFName> highBitName = new SkPDFName(highBitCString); - name->unref(); // SkRefPtr and new both took a reference. + highBitName->unref(); // SkRefPtr and new both took a reference. const char highBitExpectedResult[] = "/#DE#ADbe#EF"; CheckObjectOutput(reporter, highBitName.get(), highBitExpectedResult, strlen(highBitExpectedResult), false, false); |