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

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

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/gpu/AcceleratedImageBufferSurface.h
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h b/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
index e4e7003631d346adc596d733293f40c34d00275f..49462001ca24a7152747d9d863d3d2dfb6823454 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
+++ b/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
@@ -47,7 +47,7 @@
SkCanvas* canvas() override { return m_surface ? m_surface->getCanvas() : nullptr; }
bool isValid() const override { return m_surface; }
bool isAccelerated() const override { return true; }
- PassRefPtr<SkImage> newImageSnapshot(AccelerationHint) override;
+ PassRefPtr<SkImage> newImageSnapshot() override;
Platform3DObject getBackingTextureHandleForOverwrite() override;
private:

Powered by Google App Engine
This is Rietveld 408576698