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

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: gcc build fix 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..e084222afcfede00d49ee3920362cbdbb37272d5 100644
--- a/Source/core/platform/graphics/ImageBuffer.h
+++ b/Source/core/platform/graphics/ImageBuffer.h
@@ -34,6 +34,7 @@
#include "core/platform/graphics/GraphicsTypes.h"
#include "core/platform/graphics/GraphicsTypes3D.h"
#include "core/platform/graphics/IntSize.h"
+#include "core/platform/graphics/chromium/Canvas2DLayerBridge.h"
#include "core/platform/graphics/transforms/AffineTransform.h"
#include "wtf/Forward.h"
#include "wtf/OwnPtr.h"
@@ -48,7 +49,6 @@ namespace WebKit { class WebLayer; }
namespace WebCore {
-class Canvas2DLayerBridge;
class Image;
class ImageData;
class IntPoint;
@@ -146,7 +146,7 @@ private:
float m_resolutionScale;
OwnPtr<SkCanvas> m_canvas;
OwnPtr<GraphicsContext> m_context;
- OwnPtr<Canvas2DLayerBridge> m_layerBridge;
+ Canvas2DLayerBridgePtr 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