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

Unified Diff: experimental/PdfViewer/SkPdfReporter.cpp

Issue 60763003: Fix Mac warning in PdfViewer. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/PdfViewer/SkPdfReporter.cpp
diff --git a/experimental/PdfViewer/SkPdfReporter.cpp b/experimental/PdfViewer/SkPdfReporter.cpp
index 68b4600b99c2b6ee6f6ad86b74c1236a7bccaa1e..39beb1dc6016f0f15dd334a2318d0459c164a717 100644
--- a/experimental/PdfViewer/SkPdfReporter.cpp
+++ b/experimental/PdfViewer/SkPdfReporter.cpp
@@ -19,6 +19,7 @@ const char* severityName[] = {
"FatalError",
};
+const char* getSeverityName(SkPdfIssueSeverity sev);
const char* getSeverityName(SkPdfIssueSeverity sev) {
edisonn 2013/11/06 14:10:06 Doesn't making the function static resolves the is
if (0 <= sev && sev < _kCount__SkPdfIssueSeverity) {
return severityName[sev];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698