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

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: Trivial fix for layout test failure Created 7 years, 3 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
« no previous file with comments | « no previous file | Source/core/platform/graphics/ImageBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/graphics/ImageBuffer.h
diff --git a/Source/core/platform/graphics/ImageBuffer.h b/Source/core/platform/graphics/ImageBuffer.h
index 7db503b734240f7fde886e90e34460f42a91d12a..b34b4ea691f9083ca0d131091cedc5493401dd2f 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;
@@ -144,7 +144,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.
« no previous file with comments | « no previous file | Source/core/platform/graphics/ImageBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698