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

Unified Diff: third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.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/DrawLooperBuilder.h
diff --git a/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.h b/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.h
index d5e983f3d0eb2fc41101f4a5980b5c77ecd1fe18..b94f5a7fb15822bbc624ebe4eb6dd73a476fa44a 100644
--- a/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.h
+++ b/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.h
@@ -33,6 +33,7 @@
#include "platform/PlatformExport.h"
#include "third_party/skia/include/effects/SkLayerDrawLooper.h"
+#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/PassRefPtr.h"
@@ -48,6 +49,7 @@ class PLATFORM_EXPORT DrawLooperBuilder final {
// Implementing the copy constructor properly would require writing code to
// copy the underlying SkLayerDrawLooper::Builder.
WTF_MAKE_NONCOPYABLE(DrawLooperBuilder);
+ USING_FAST_MALLOC(DrawLooperBuilder);
public:
enum ShadowTransformMode {

Powered by Google App Engine
This is Rietveld 408576698