Index: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h |
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h |
index 0b4a0e37b863b4acdbcd5b5c6dc8363b581cac4d..fd25aa7bdf149b8f6c33f655796b162870fbc2c9 100644 |
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h |
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h |
@@ -67,6 +67,7 @@ class PLATFORM_EXPORT DrawingBuffer : public RefCounted<DrawingBuffer>, public W |
// If we used CHROMIUM_image as the backing storage for our buffers, |
// we need to know the mapping from texture id to image. |
struct TextureInfo { |
+ DISALLOW_NEW(); |
Platform3DObject textureId; |
WGC3Duint imageId; |
@@ -78,6 +79,10 @@ class PLATFORM_EXPORT DrawingBuffer : public RefCounted<DrawingBuffer>, public W |
}; |
struct MailboxInfo : public RefCounted<MailboxInfo> { |
+ WTF_MAKE_NONCOPYABLE(MailboxInfo); |
+ public: |
+ MailboxInfo() { } |
+ |
WebExternalTextureMailbox mailbox; |
TextureInfo textureInfo; |
IntSize size; |
@@ -86,6 +91,7 @@ class PLATFORM_EXPORT DrawingBuffer : public RefCounted<DrawingBuffer>, public W |
// cleared when the compositor returns the mailbox. See mailboxReleased(). |
RefPtr<DrawingBuffer> m_parentDrawingBuffer; |
}; |
+ WTF_MAKE_NONCOPYABLE(DrawingBuffer); |
public: |
enum PreserveDrawingBuffer { |
Preserve, |