Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: src/doc/SkDocument_PDF.cpp

Issue 966863002: PDF: Canon now owns a reference to all interned objects (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-02-27 (Friday) 15:27:08 EST Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/pdf/SkPDFBitmap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/doc/SkDocument_PDF.cpp
diff --git a/src/doc/SkDocument_PDF.cpp b/src/doc/SkDocument_PDF.cpp
index 468111c86bcc3175690c6382ccb4d47a12945cbb..e486737d7e5e85ef6c0781d27bafaea76feec713 100644
--- a/src/doc/SkDocument_PDF.cpp
+++ b/src/doc/SkDocument_PDF.cpp
@@ -56,13 +56,13 @@ protected:
bool success = fDoc->emitPDF(stream);
fDoc.free();
- SkDEBUGCODE(fCanon.assertEmpty());
+ fCanon.reset();
return success;
}
void onAbort() SK_OVERRIDE {
fDoc.free();
- SkDEBUGCODE(fCanon.assertEmpty());
+ fCanon.reset();
}
private:
« no previous file with comments | « no previous file | src/pdf/SkPDFBitmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698