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

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

Issue 1609343004: Add display list fallback reason histograms for 2D canvas (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl web Created 4 years, 10 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 06eed553f9e4c4165101308a95b3f2fdc91f25d6..6cfbcc0f8f644c144f065f1c85c4c2c5b42677a5 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 @@ public:
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(AccelerationHint, SnapshotReason) override;
Platform3DObject getBackingTextureHandleForOverwrite() override;
private:

Powered by Google App Engine
This is Rietveld 408576698