From 1c467fd5145e7f61ab03b608cf9e9581022b4428 Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Wed, 15 Feb 2017 09:30:07 -0500 Subject: 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 Reviewed-by: dsinclair --- core/fxge/skia/fx_skia_device.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'core') 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); -- cgit v1.2.3