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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h

Issue 1497683002: Make platform/graphics to use USING_FAST_MALLOC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: 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,

Powered by Google App Engine
This is Rietveld 408576698