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) { |