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

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

Issue 1297663002: Eliminate deferral overhead with canvas to canvas draws (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: git cl web Created 5 years, 4 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
« no previous file with comments | « Source/platform/graphics/UnacceleratedImageBufferSurface.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
diff --git a/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h b/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
index 1b67856c7a349602d4e6d6863474097c56205e04..49462001ca24a7152747d9d863d3d2dfb6823454 100644
--- a/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
+++ b/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
@@ -44,7 +44,7 @@ public:
AcceleratedImageBufferSurface(const IntSize&, OpacityMode = NonOpaque);
~AcceleratedImageBufferSurface() override { }
- SkCanvas* immediateCanvas() override { return m_surface ? m_surface->getCanvas() : nullptr; }
+ 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() override;
« no previous file with comments | « Source/platform/graphics/UnacceleratedImageBufferSurface.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698