Index: third_party/WebKit/Source/core/frame/ImageBitmap.h |
diff --git a/third_party/WebKit/Source/core/frame/ImageBitmap.h b/third_party/WebKit/Source/core/frame/ImageBitmap.h |
index 8dc3a51e7070dd73fd00cf08973306fd253b6a49..37d29b51ebb00c00da0d9e9becc88e9c7df886e7 100644 |
--- a/third_party/WebKit/Source/core/frame/ImageBitmap.h |
+++ b/third_party/WebKit/Source/core/frame/ImageBitmap.h |
@@ -41,6 +41,10 @@ public: |
int height() const { return m_cropRect.height(); } |
IntSize size() const { return m_cropRect.size(); } |
+ bool isNeutered() const { return m_isNeutered; } |
+ void neuter(); |
+ PassRefPtr<ImageBitmap> transfer(); |
Justin Novosad
2015/10/23 13:30:04
PassRefPtrWillBeRawPtr
|
+ |
~ImageBitmap() override; |
// CanvasImageSource implementation |
@@ -76,6 +80,7 @@ private: |
// ImageBitmaps not constructed from HTMLImageElements always pre-crop and store the image at (0, 0). |
IntPoint m_bitmapOffset; |
+ bool m_isNeutered; |
Justin Novosad
2015/10/23 13:30:04
Is this field necessary? I think isNeuteres can be
|
}; |
} // namespace blink |