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

Unified Diff: third_party/WebKit/Source/platform/graphics/InterceptingCanvas.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/InterceptingCanvas.h
diff --git a/third_party/WebKit/Source/platform/graphics/InterceptingCanvas.h b/third_party/WebKit/Source/platform/graphics/InterceptingCanvas.h
index 7375fb0bbdae15447e30ab2a708dc8bcb254cfaf..5c949a0fd38d8873869cc65597a4652bb529fa29 100644
--- a/third_party/WebKit/Source/platform/graphics/InterceptingCanvas.h
+++ b/third_party/WebKit/Source/platform/graphics/InterceptingCanvas.h
@@ -33,6 +33,7 @@
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/core/SkPicture.h"
+#include "wtf/Allocator.h"
#include "wtf/Assertions.h"
#include "wtf/Noncopyable.h"
@@ -42,6 +43,7 @@ class InterceptingCanvasBase : public SkCanvas {
WTF_MAKE_NONCOPYABLE(InterceptingCanvasBase);
public:
template<typename DerivedCanvas> class CanvasInterceptorBase {
+ STACK_ALLOCATED();
WTF_MAKE_NONCOPYABLE(CanvasInterceptorBase);
protected:
CanvasInterceptorBase(InterceptingCanvasBase* canvas)

Powered by Google App Engine
This is Rietveld 408576698