Fix Mac warning in PdfViewer.
Move a function only used by code guarded by #ifdef PDF_REPORT inside guard. R=edisonn@google.com Review URL: https://codereview.chromium.org/60763003 git-svn-id: http://skia.googlecode.com/svn/trunk@12170 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
d60f2c4dfb
commit
a7a946a617
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user