Index: experimental/PdfViewer/src/SkPdfRenderer.cpp |
diff --git a/experimental/PdfViewer/src/SkPdfRenderer.cpp b/experimental/PdfViewer/src/SkPdfRenderer.cpp |
index 25fc41df88b9de330f71a66fa037cd9343c4e9fa..9747aad4024a1859b454a5e3d5aa8a5028c4b23a 100644 |
--- a/experimental/PdfViewer/src/SkPdfRenderer.cpp |
+++ b/experimental/PdfViewer/src/SkPdfRenderer.cpp |
@@ -1133,7 +1133,7 @@ SkPdfResult PdfOp_Q(SkPdfContext* pdfContext, SkCanvas* canvas, PdfTokenLooper** |
pdfContext->fStateStack.pop(); |
canvas->restore(); |
- if (pdfContext->fObjectStack.nests() == 0) { |
+ if (pdfContext->fObjectStack.nestingLevel() == 0) { |
SkPdfReport(kIgnoreError_SkPdfIssueSeverity, kStackNestingOverflow_SkPdfIssue, |
"stack nesting overflow (q/Q)", NULL, pdfContext); |
return kIgnoreError_SkPdfResult; |