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

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

Issue 101163004: Fix the context loss issue when switching tabs after enabled Canvas2D hardware acceleration (Closed) Base URL: http://src.chromium.org/blink/trunk/
Patch Set: 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 1e8e99b21fe4daf457bf67a8087540a1c02ce120..7411e4a20601e5dfaaa6e02cc66cf154f10d50ae 100644
--- a/Source/platform/graphics/Canvas2DLayerBridge.h
+++ b/Source/platform/graphics/Canvas2DLayerBridge.h
@@ -94,6 +94,7 @@ protected:
Canvas2DLayerBridge(PassOwnPtr<blink::WebGraphicsContext3DProvider>, PassOwnPtr<SkDeferredCanvas>, int, OpacityMode);
void setRateLimitingEnabled(bool);
bool releasedMailboxHasExpired();
+ void resetLastImageIdIfNecessary();
OwnPtr<SkDeferredCanvas> m_canvas;
OwnPtr<blink::WebExternalTextureLayer> m_layer;
« 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