Index: experimental/PdfViewer/SkPdfReporter.cpp |
diff --git a/experimental/PdfViewer/SkPdfReporter.cpp b/experimental/PdfViewer/SkPdfReporter.cpp |
index 68b4600b99c2b6ee6f6ad86b74c1236a7bccaa1e..f4e8ea4963fe06c8556551b014ad81bb717878d0 100644 |
--- a/experimental/PdfViewer/SkPdfReporter.cpp |
+++ b/experimental/PdfViewer/SkPdfReporter.cpp |
@@ -5,6 +5,7 @@ |
* found in the LICENSE file. |
*/ |
+#ifdef PDF_REPORT |
#include "SkPdfReporter.h" |
@@ -33,7 +34,6 @@ const char* getSeverityName(SkPdfIssueSeverity sev) { |
// content, with tooltips where warnings/errors were reported. |
-#ifdef PDF_REPORT |
void SkPdfReport(SkPdfIssueSeverity sev, SkPdfIssue issue, |
const char* context, |
const SkPdfNativeObject* obj, |