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

Unified Diff: ui/gfx/blit.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/gfx/blit.cc
diff --git a/ui/gfx/blit.cc b/ui/gfx/blit.cc
index 25d0ebedd455d165079deda78fea6df25a011bf3..12101969476de0df434190365ca95efbb966440b 100644
--- a/ui/gfx/blit.cc
+++ b/ui/gfx/blit.cc
@@ -133,7 +133,7 @@ void ScrollCanvas(SkCanvas* canvas,
#if defined(OS_WIN)
// If we have a PlatformCanvas, we should use ScrollDC. Otherwise, fall
// through to the software implementation.
- if (skia::SupportsPlatformPaint(canvas)) {
+ if (skia::SupportsDirectPlatformPaint(canvas)) {
skia::ScopedPlatformPaint scoped_platform_paint(canvas);
HDC hdc = scoped_platform_paint.GetPlatformSurface();

Powered by Google App Engine
This is Rietveld 408576698