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

Unified Diff: Source/core/style/BorderEdge.h

Issue 1308633005: Make classes and structures in core/style, core/plugins and core/streams fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months 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
« no previous file with comments | « Source/core/style/BorderData.h ('k') | Source/core/style/BorderImageLength.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/BorderEdge.h
diff --git a/Source/core/style/BorderEdge.h b/Source/core/style/BorderEdge.h
index 63be1824d69031e0128dbece70db6b5dfb999041..e9bbda4a8aa05d00c0b343ddeffddbe81ed36bed 100644
--- a/Source/core/style/BorderEdge.h
+++ b/Source/core/style/BorderEdge.h
@@ -7,10 +7,13 @@
#include "core/style/ComputedStyleConstants.h"
#include "platform/graphics/Color.h"
+#include "wtf/Allocator.h"
namespace blink {
struct BorderEdge {
+ STACK_ALLOCATED();
+public:
BorderEdge(int edgeWidth, const Color& edgeColor, EBorderStyle edgeStyle, bool edgeIsPresent = true);
BorderEdge();
« no previous file with comments | « Source/core/style/BorderData.h ('k') | Source/core/style/BorderImageLength.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698