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

Unified Diff: skia/ext/bitmap_platform_device_skia.h

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/bitmap_platform_device_skia.h
diff --git a/skia/ext/bitmap_platform_device_skia.h b/skia/ext/bitmap_platform_device_skia.h
index 8859cccab425ab5bc94d385bd561c0196ab96776..9f347285ab36a433d3a556732c5db04ee57600f5 100644
--- a/skia/ext/bitmap_platform_device_skia.h
+++ b/skia/ext/bitmap_platform_device_skia.h
@@ -46,7 +46,8 @@ class BitmapPlatformDevice : public SkBitmapDevice, public PlatformDevice {
SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
private:
- PlatformSurface BeginPlatformPaint() override;
+ PlatformSurface BeginPlatformPaint(const SkMatrix& transform,
+ const SkIRect& clip_bounds) override;
DISALLOW_COPY_AND_ASSIGN(BitmapPlatformDevice);

Powered by Google App Engine
This is Rietveld 408576698