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

Unified Diff: skia/ext/platform_device_mac.cc

Issue 1963713002: Replace setMatrixClip() with BeginPlatformPaint() logic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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: skia/ext/platform_device_mac.cc
diff --git a/skia/ext/platform_device_mac.cc b/skia/ext/platform_device_mac.cc
index 0cd841ada10cb017bed16abba4a2c40ef0cc7726..09d6c304a421faa6aeeefa4f845d862b086bafba 100644
--- a/skia/ext/platform_device_mac.cc
+++ b/skia/ext/platform_device_mac.cc
@@ -6,8 +6,9 @@
namespace skia {
-CGContextRef PlatformDevice::BeginPlatformPaint() {
- return GetBitmapContext();
+CGContextRef PlatformDevice::BeginPlatformPaint(const SkMatrix& transform,
+ const SkIRect& clip_bounds) {
+ return GetBitmapContext(transform, clip_bounds);
}
} // namespace skia

Powered by Google App Engine
This is Rietveld 408576698