summaryrefslogtreecommitdiff
path: root/core/fxge/skia
diff options
context:
space:
mode:
authorCary Clark <caryclark@google.com>2017-02-15 09:30:07 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-02-15 14:59:40 +0000
commit1c467fd5145e7f61ab03b608cf9e9581022b4428 (patch)
treec4cb5fb292f6baf49883cf8c232c2c29520a84f2 /core/fxge/skia
parent5f2d381028b2c09bd09a843368328155b1399c5e (diff)
downloadpdfium-1c467fd5145e7f61ab03b608cf9e9581022b4428.tar.xz
remove skia clipstack debugging
SkClipStack is going away. It was only used for debugging in PDFium. R=dsinclair@chromium.org Change-Id: I476bfe84874916fc7c72ae8942afb021662935d1 Reviewed-on: https://pdfium-review.googlesource.com/2730 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxge/skia')
-rw-r--r--core/fxge/skia/fx_skia_device.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/fxge/skia/fx_skia_device.cpp b/core/fxge/skia/fx_skia_device.cpp
index c8b16f5506..ba21bf4134 100644
--- a/core/fxge/skia/fx_skia_device.cpp
+++ b/core/fxge/skia/fx_skia_device.cpp
@@ -45,10 +45,6 @@
#include "third_party/skia/include/core/SkPictureRecorder.h"
#endif // _SKIA_SUPPORT_
-#ifdef SK_DEBUG
-#include "third_party/skia/include/core/SkClipStack.h"
-#endif // SK_DEBUG
-
namespace {
#ifdef _SKIA_SUPPORT_PATHS_
@@ -195,8 +191,6 @@ void DebugShowCanvasClip(const SkCanvas* canvas) {
canvas->getClipDeviceBounds(&device);
printf("device bounds %d %d %d %d\n", device.fLeft, device.fTop,
device.fRight, device.fBottom);
- const SkClipStack* clipStack = canvas->getClipStack();
- clipStack->dump();
#endif // SHOW_SKIA_PATH
}
@@ -1086,7 +1080,6 @@ class SkiaState {
#if SHOW_SKIA_PATH
printf("\n%s\nSkia Save Count %d:\n", where,
m_pDriver->m_pCanvas->getSaveCount());
- m_pDriver->m_pCanvas->getClipStack()->dump();
printf("Cache:\n");
for (int index = 0; index < m_commands.count(); ++index) {
DumpPrefix(index);