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

Unified Diff: third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp

Issue 1361043003: Revert of Make 2D canvas smarter about chosing whether or not to use GPU acceleration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/RecordingImageBufferSurface.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp
index 4f44ec181f0dbd719fd17d28e2b4eab7ce9dd0a3..ac85b2a307c5f9cfb9646e971b940b702cc4a459 100644
--- a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp
+++ b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp
@@ -97,11 +97,11 @@
}
-PassRefPtr<SkImage> RecordingImageBufferSurface::newImageSnapshot(AccelerationHint hint)
-{
- if (!m_fallbackSurface)
- fallBackToRasterCanvas();
- return m_fallbackSurface->newImageSnapshot(hint);
+PassRefPtr<SkImage> RecordingImageBufferSurface::newImageSnapshot()
+{
+ if (!m_fallbackSurface)
+ fallBackToRasterCanvas();
+ return m_fallbackSurface->newImageSnapshot();
}
SkCanvas* RecordingImageBufferSurface::canvas()

Powered by Google App Engine
This is Rietveld 408576698