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

Unified Diff: Source/core/layout/shapes/Shape.h

Issue 1278983003: Adding allocator annotations to blink classes and structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed patch conflict 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/frame/csp/CSPDirective.h ('k') | Source/core/layout/shapes/ShapeOutsideInfo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/shapes/Shape.h
diff --git a/Source/core/layout/shapes/Shape.h b/Source/core/layout/shapes/Shape.h
index 5b40abd229f2ba8486839cdbf2820b851525015c..0d45bd16c1eb8797e520cee4db8fd21653f56515 100644
--- a/Source/core/layout/shapes/Shape.h
+++ b/Source/core/layout/shapes/Shape.h
@@ -43,6 +43,7 @@ namespace blink {
class FloatRoundedRect;
struct LineSegment {
+ STACK_ALLOCATED();
LineSegment()
: logicalLeft(0)
, logicalRight(0)
@@ -68,8 +69,10 @@ struct LineSegment {
// physical coordinates.
class CORE_EXPORT Shape {
+ WTF_MAKE_FAST_ALLOCATED(Shape);
public:
struct DisplayPaths {
+ STACK_ALLOCATED();
Path shape;
Path marginShape;
};
« no previous file with comments | « Source/core/frame/csp/CSPDirective.h ('k') | Source/core/layout/shapes/ShapeOutsideInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698