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

Unified Diff: samplecode/SampleApp.cpp

Issue 2202203003: not much point to SK_SUPPORT_PDF (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 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 | « gyp/pdf.gyp ('k') | tests/CanvasTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleApp.cpp
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp
index 39ee44da7e5397efe382a8db4dfea9de6d00d729..439b699c383ac1c933333a650c91e3cff2111c2c 100644
--- a/samplecode/SampleApp.cpp
+++ b/samplecode/SampleApp.cpp
@@ -1286,10 +1286,8 @@ void SampleWindow::onDraw(SkCanvas* canvas) {
void SampleWindow::saveToPdf()
{
-#if SK_SUPPORT_PDF
fSaveToPdf = true;
this->inval(nullptr);
-#endif // SK_SUPPORT_PDF
}
SkCanvas* SampleWindow::beforeChildren(SkCanvas* canvas) {
« no previous file with comments | « gyp/pdf.gyp ('k') | tests/CanvasTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698