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

Unified Diff: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.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/Canvas2DLayerBridge.h
diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
index dc25f1d5a5fb941106f5d78484d026144aeb0142..6c139d20c2615545507aea759239dc5e9ce17258 100644
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
@@ -76,7 +76,7 @@ public:
void willOverwriteAllPixels();
void willOverwriteCanvas();
SkCanvas* canvas();
- void disableDeferral();
+ void disableDeferral(DisableDeferralReason);
bool checkSurfaceValid();
bool restoreSurface();
WebLayer* layer() const;
@@ -95,7 +95,7 @@ public:
void hibernate();
bool isHibernating() const { return m_hibernationImage; }
- PassRefPtr<SkImage> newImageSnapshot(AccelerationHint);
+ PassRefPtr<SkImage> newImageSnapshot(AccelerationHint, SnapshotReason);
// The values of the enum entries must not change because they are used for
// usage metrics histograms. New values can be added to the end.

Powered by Google App Engine
This is Rietveld 408576698