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

Unified Diff: Source/platform/graphics/Canvas2DLayerBridge.h

Issue 186023003: Speculative fix for crash in Canvas2DLayerBridge::freeReleasedMailbox (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: removing unnecessary include Created 6 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: Source/platform/graphics/Canvas2DLayerBridge.h
diff --git a/Source/platform/graphics/Canvas2DLayerBridge.h b/Source/platform/graphics/Canvas2DLayerBridge.h
index 97461db26623973c9f31cdf51e2ed547dbdb7726..52d217cab8c7a878fb0fddf3890eab2b71c35519 100644
--- a/Source/platform/graphics/Canvas2DLayerBridge.h
+++ b/Source/platform/graphics/Canvas2DLayerBridge.h
@@ -71,6 +71,7 @@ public:
void willUse();
SkCanvas* canvas() const { return m_canvas.get(); }
bool isValid();
+ bool tryRecover();
blink::WebLayer* layer() const;
Platform3DObject getBackingTexture();
bool isAccelerated() const { return true; }

Powered by Google App Engine
This is Rietveld 408576698