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

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 years 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
Index: third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
index 8467f9611e13ff66da5ab948abe4da332ec069b7..d7d8903463b00c559ff7deda7ab5171f9e351509 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
@@ -31,14 +31,13 @@
#include "core/html/canvas/CanvasContextCreationAttributes.h"
#include "core/layout/HitTestCanvasResult.h"
#include "core/offscreencanvas/OffscreenCanvas.h"
+#include "skia/ext/cdl_common.h"
#include "third_party/skia/include/core/SkColorSpace.h"
#include "third_party/skia/include/core/SkImageInfo.h"
#include "wtf/HashSet.h"
#include "wtf/Noncopyable.h"
#include "wtf/text/StringHash.h"
-class SkCanvas;
-
namespace blink {
class CanvasImageSource;
@@ -127,7 +126,7 @@ class CORE_EXPORT CanvasRenderingContext
// Canvas2D-specific interface
virtual bool is2d() const { return false; }
- virtual void restoreCanvasMatrixClipStack(SkCanvas*) const {}
+ virtual void restoreCanvasMatrixClipStack(CdlCanvas*) const {}
virtual void reset() {}
virtual void clearRect(double x, double y, double width, double height) {}
virtual void didSetSurfaceSize() {}

Powered by Google App Engine
This is Rietveld 408576698