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

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

Issue 1318713003: Make classes and structures in core/layout 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/layout/line/WordMeasurement.h ('k') | Source/core/layout/shapes/RasterShape.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/shapes/PolygonShape.h
diff --git a/Source/core/layout/shapes/PolygonShape.h b/Source/core/layout/shapes/PolygonShape.h
index 9c9036b3b1d7ae7dcb1fe28423b63acc507ea723..8573bb5c3fa7777aabd1deafd22f74eef3c24294 100644
--- a/Source/core/layout/shapes/PolygonShape.h
+++ b/Source/core/layout/shapes/PolygonShape.h
@@ -37,6 +37,7 @@
namespace blink {
class OffsetPolygonEdge final : public VertexPair {
+ DISALLOW_ALLOCATION();
public:
OffsetPolygonEdge(const FloatPolygonEdge& edge, const FloatSize& offset)
: m_vertex1(edge.vertex1() + offset)
« no previous file with comments | « Source/core/layout/line/WordMeasurement.h ('k') | Source/core/layout/shapes/RasterShape.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698