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

Unified Diff: Source/core/html/HTMLCanvasElement.h

Issue 214153006: Oilpan: move ImageData to the oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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/html/HTMLCanvasElement.h
diff --git a/Source/core/html/HTMLCanvasElement.h b/Source/core/html/HTMLCanvasElement.h
index fa8c45a47d6ccb08159bd6df9a23cfbd02b31988..05f54d0194b6253af1a8654d778cb7dbb5d540fd 100644
--- a/Source/core/html/HTMLCanvasElement.h
+++ b/Source/core/html/HTMLCanvasElement.h
@@ -30,6 +30,7 @@
#include "core/html/HTMLElement.h"
#include "core/html/canvas/CanvasImageSource.h"
+#include "heap/Handle.h"
#include "platform/geometry/FloatRect.h"
#include "platform/geometry/IntSize.h"
#include "platform/graphics/Canvas2DLayerBridge.h"
@@ -112,7 +113,7 @@ public:
ImageBuffer* buffer() const;
Image* copiedImage() const;
void clearCopiedImage();
- PassRefPtr<ImageData> getImageData();
+ PassRefPtrWillBeRawPtr<ImageData> getImageData();
void makePresentationCopy();
void clearPresentationCopy();

Powered by Google App Engine
This is Rietveld 408576698