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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/Extensions3DUtil.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/Extensions3DUtil.h
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/Extensions3DUtil.h b/third_party/WebKit/Source/platform/graphics/gpu/Extensions3DUtil.h
index 210f72fbf5cbf1994a6c0025858c39bf24ed271f..ee6298c9a7ab8bf16be11aa618fb59eb2f0519b0 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/Extensions3DUtil.h
+++ b/third_party/WebKit/Source/platform/graphics/gpu/Extensions3DUtil.h
@@ -9,7 +9,9 @@
#include "platform/graphics/GraphicsTypes3D.h"
#include "third_party/khronos/GLES2/gl2.h"
#include "third_party/khronos/GLES2/gl2ext.h"
+#include "wtf/Allocator.h"
#include "wtf/HashSet.h"
+#include "wtf/Noncopyable.h"
#include "wtf/text/StringHash.h"
#include "wtf/text/WTFString.h"
@@ -17,7 +19,9 @@ namespace blink {
class WebGraphicsContext3D;
-class PLATFORM_EXPORT Extensions3DUtil {
+class PLATFORM_EXPORT Extensions3DUtil final {
+ USING_FAST_MALLOC(Extensions3DUtil);
+ WTF_MAKE_NONCOPYABLE(Extensions3DUtil);
public:
// Creates a new Extensions3DUtil. If the passed WebGraphicsContext3D has been spontaneously lost, returns null.
static PassOwnPtr<Extensions3DUtil> create(WebGraphicsContext3D*);

Powered by Google App Engine
This is Rietveld 408576698