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

Unified Diff: third_party/WebKit/Source/platform/graphics/CompositingReasons.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/CompositingReasons.h
diff --git a/third_party/WebKit/Source/platform/graphics/CompositingReasons.h b/third_party/WebKit/Source/platform/graphics/CompositingReasons.h
index 2c2eceed6927809451a6e961d11e7462523bd610..2c978bec6693e66f6982ee3dacd0888f4a9aebc3 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositingReasons.h
+++ b/third_party/WebKit/Source/platform/graphics/CompositingReasons.h
@@ -6,6 +6,7 @@
#define CompositingReasons_h
#include "platform/PlatformExport.h"
+#include "wtf/Allocator.h"
#include "wtf/MathExtras.h"
#include <stdint.h>
@@ -192,6 +193,7 @@ inline bool requiresSquashing(CompositingReasons reasons)
}
struct CompositingReasonStringMap {
+ STACK_ALLOCATED();
CompositingReasons reason;
const char* shortName;
const char* description;

Powered by Google App Engine
This is Rietveld 408576698