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. |