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

Unified Diff: Source/core/platform/graphics/ImageBuffer.h

Issue 22929012: Change Canvas2DLayerBridge to stay alive until last mailbox is returned. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make prepareMailbox return false during tear-down Created 7 years, 4 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/core/platform/graphics/ImageBuffer.h
diff --git a/Source/core/platform/graphics/ImageBuffer.h b/Source/core/platform/graphics/ImageBuffer.h
index b4c0af9f3398dd1bf1c444c0504560a68ecf1f4a..e8d534315b58ffca401be2b14feb32a539bf02e8 100644
--- a/Source/core/platform/graphics/ImageBuffer.h
+++ b/Source/core/platform/graphics/ImageBuffer.h
@@ -146,7 +146,7 @@ private:
float m_resolutionScale;
OwnPtr<SkCanvas> m_canvas;
OwnPtr<GraphicsContext> m_context;
- OwnPtr<Canvas2DLayerBridge> m_layerBridge;
+ RefPtr<Canvas2DLayerBridge> m_layerBridge;
// This constructor will place its success into the given out-variable
// so that create() knows when it should return failure.

Powered by Google App Engine
This is Rietveld 408576698