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

Unified Diff: skia/ext/platform_canvas.cc

Issue 2610003002: Remove skia::SupportsPlatformPaint() (Closed)
Patch Set: rebase Created 3 years, 11 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
« no previous file with comments | « skia/ext/platform_canvas.h ('k') | ui/native_theme/native_theme_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/platform_canvas.cc
diff --git a/skia/ext/platform_canvas.cc b/skia/ext/platform_canvas.cc
index 81093801b624444181ea03b5f8e11f292fa27d06..eb954969eb09315f181dcff5f30e7a37d995bab4 100644
--- a/skia/ext/platform_canvas.cc
+++ b/skia/ext/platform_canvas.cc
@@ -58,10 +58,6 @@ bool GetWritablePixels(SkCanvas* canvas, SkPixmap* result) {
return true;
}
-bool SupportsPlatformPaint(const SkCanvas* canvas) {
- return GetPlatformDevice(canvas->getTopDevice(true)) != nullptr;
-}
-
size_t PlatformCanvasStrideForWidth(unsigned width) {
return 4 * width;
}
« no previous file with comments | « skia/ext/platform_canvas.h ('k') | ui/native_theme/native_theme_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698