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

Unified Diff: Source/platform/graphics/UnacceleratedImageBufferSurface.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: rebase 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: Source/platform/graphics/UnacceleratedImageBufferSurface.cpp
diff --git a/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp b/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp
index 02431e51ddf445365a4b108cab0fdb6c05f78db5..f01b7a7c7a05ab75ca9b3ab42603c815cefebff0 100644
--- a/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp
+++ b/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp
@@ -68,7 +68,7 @@ bool UnacceleratedImageBufferSurface::isValid() const
return m_surface;
}
-PassRefPtr<SkImage> UnacceleratedImageBufferSurface::newImageSnapshot()
+PassRefPtr<SkImage> UnacceleratedImageBufferSurface::newImageSnapshot(AccelerationHint)
{
return adoptRef(m_surface->newImageSnapshot());
}

Powered by Google App Engine
This is Rietveld 408576698