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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp

Issue 1307143005: Make 2D canvas smarter about chosing whether or not to use GPU acceleration (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: migrated to chromium repo Created 5 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: third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp b/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp
index 63af90e9391ea7cc007fa7867a3e2225dc43f3c9..54e1e20806e5aa9c31969e5849b434b734cc7e65 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp
+++ b/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp
@@ -62,7 +62,7 @@ AcceleratedImageBufferSurface::AcceleratedImageBufferSurface(const IntSize& size
clear();
}
-PassRefPtr<SkImage> AcceleratedImageBufferSurface::newImageSnapshot()
+PassRefPtr<SkImage> AcceleratedImageBufferSurface::newImageSnapshot(AccelerationHint)
{
return adoptRef(m_surface->newImageSnapshot());
}

Powered by Google App Engine
This is Rietveld 408576698