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

Unified Diff: third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm

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/platform/mac/LocalCurrentGraphicsContext.mm
diff --git a/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm b/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm
index da5c2febb4ffbb0dc7298da0c8e83ba9a2baab0f..47742622afad5d246de2d389752edd3a003bf67e 100644
--- a/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm
+++ b/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm
@@ -23,6 +23,7 @@
#include "platform/graphics/GraphicsContext.h"
#include "platform/mac/ThemeMac.h"
#include "platform_canvas.h"
+#include "skia/ext/cdl_canvas.h"
namespace blink {
@@ -43,7 +44,7 @@ static IntRect clampRect(int size, const IntRect& rect) {
static const int kMaxDirtyRectPixelSize = 10000;
LocalCurrentGraphicsContext::LocalCurrentGraphicsContext(
- SkCanvas* canvas,
+ CdlCanvas* canvas,
float deviceScaleFactor,
const IntRect& dirtyRect)
: m_didSetGraphicsContext(false),

Powered by Google App Engine
This is Rietveld 408576698