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

Unified Diff: skia/ext/skia_utils_mac.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
« no previous file with comments | « skia/ext/platform_canvas.cc ('k') | skia/ext/skia_utils_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/skia_utils_mac.h
diff --git a/skia/ext/skia_utils_mac.h b/skia/ext/skia_utils_mac.h
index e88c1100076be4033711eb53159ef629d15def3b..9823714930946412e2b9c25ee89dfe0040638748 100644
--- a/skia/ext/skia_utils_mac.h
+++ b/skia/ext/skia_utils_mac.h
@@ -15,7 +15,7 @@
struct SkIRect;
struct SkPoint;
struct SkRect;
-class SkCanvas;
+class CdlCanvas;
class SkMatrix;
#ifdef __LP64__
typedef CGSize NSSize;
@@ -104,7 +104,7 @@ class SK_API SkiaBitLocker {
SkIRect::MakeSize(canvas->getBaseLayerSize()) transformed by the inverse
CTM.
*/
- SkiaBitLocker(SkCanvas* canvas,
+ SkiaBitLocker(CdlCanvas* canvas,
const SkIRect& userClipRect,
SkScalar bitmapScaleFactor = 1);
~SkiaBitLocker();
@@ -115,7 +115,7 @@ class SK_API SkiaBitLocker {
void releaseIfNeeded();
SkIRect computeDirtyRect();
- SkCanvas* canvas_;
+ CdlCanvas* canvas_;
CGContextRef cgContext_;
// offscreen_ is only valid if useDeviceBits_ is false
« no previous file with comments | « skia/ext/platform_canvas.cc ('k') | skia/ext/skia_utils_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698