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

Unified Diff: skia/ext/platform_device.cc

Issue 10915065: Add PlatformPictureSkia and RecordingPlatformDeviceSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add IsPlatformPaintSupported(), update comment in WebPluginDelegateProxy::Paint and require direct … Created 8 years, 3 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.cc
diff --git a/skia/ext/platform_device.cc b/skia/ext/platform_device.cc
index 83a191862d865f03cedf437f81ffe4ebc670cd9b..c271055d96e6a4b83bfdb324964aa79c6a502e7f 100644
--- a/skia/ext/platform_device.cc
+++ b/skia/ext/platform_device.cc
@@ -72,8 +72,8 @@ bool IsPreviewMetafile(const SkCanvas& canvas) {
}
#endif
-bool PlatformDevice::SupportsPlatformPaint() {
- return true;
+PlatformDevice::PlatformPaint PlatformDevice::PlatformPaintSupport() {
+ return PLATFORM_PAINT_DIRECT;
}
} // namespace skia

Powered by Google App Engine
This is Rietveld 408576698