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

Unified Diff: ui/base/native_theme/native_theme_win.cc

Issue 10915065: Add PlatformPictureSkia and RecordingPlatformDeviceSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor style changes and move skia include to .cpp file. 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: ui/base/native_theme/native_theme_win.cc
diff --git a/ui/base/native_theme/native_theme_win.cc b/ui/base/native_theme/native_theme_win.cc
index 92fd382c1434723e219eb14830f0d53dd570689a..d6d4f9b5b4cf7d08b07381c6f8b33b484975b0f1 100644
--- a/ui/base/native_theme/native_theme_win.cc
+++ b/ui/base/native_theme/native_theme_win.cc
@@ -288,7 +288,7 @@ void NativeThemeWin::Paint(SkCanvas* canvas,
const gfx::Rect& rect,
const ExtraParams& extra) const {
bool needs_paint_indirect = false;
- if (!skia::SupportsPlatformPaint(canvas)) {
+ if (!skia::SupportsDirectPlatformPaint(canvas)) {
// This block will only get hit with --enable-accelerated-drawing flag.
needs_paint_indirect = true;
} else {
« skia/ext/recording_platform_device_skia.cc ('K') | « skia/skia.gyp ('k') | ui/gfx/blit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698