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

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

Issue 369043003: Let canvas decide how to handle the case of resource lost reported by client: 2D part (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: reset syncPoint for lostResource Created 6 years, 5 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 c2a59266f74a2869d0cf578e0a9d8d21655a491d..5d41aa18a9db725254a352e2c0fb264593ba330a 100644
--- a/Source/platform/graphics/Canvas2DLayerBridge.h
+++ b/Source/platform/graphics/Canvas2DLayerBridge.h
@@ -60,7 +60,7 @@ public:
// blink::WebExternalTextureLayerClient implementation.
virtual bool prepareMailbox(blink::WebExternalTextureMailbox*, blink::WebExternalBitmap*) OVERRIDE;
- virtual void mailboxReleased(const blink::WebExternalTextureMailbox&) OVERRIDE;
+ virtual void mailboxReleased(const blink::WebExternalTextureMailbox&, bool lostResource) OVERRIDE;
// SkDeferredCanvas::NotificationClient implementation
virtual void prepareForDraw() OVERRIDE;
« no previous file with comments | « no previous file | Source/platform/graphics/Canvas2DLayerBridge.cpp » ('j') | Source/platform/graphics/Canvas2DLayerBridge.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698