Index: Source/core/paint/NinePieceImageGrid.h |
diff --git a/Source/core/paint/NinePieceImageGrid.h b/Source/core/paint/NinePieceImageGrid.h |
index f96c190a10b56567313572f7cb81e86d14b8fd4e..7635484f4aa0e1b4470f547cfdca76a677265b3e 100644 |
--- a/Source/core/paint/NinePieceImageGrid.h |
+++ b/Source/core/paint/NinePieceImageGrid.h |
@@ -66,6 +66,7 @@ public: |
const IntRectOutsets& borderWidths); |
struct CORE_EXPORT NinePieceDrawInfo { |
+ STACK_ALLOCATED(); |
bool isDrawable; |
bool isCornerPiece; |
FloatRect destination; |
@@ -81,6 +82,7 @@ public: |
NinePieceDrawInfo getNinePieceDrawInfo(NinePiece) const; |
struct Edge { |
+ DISALLOW_ALLOCATION(); |
bool isDrawable() const { return slice > 0 && width > 0; } |
float scale() const { return isDrawable() ? (float)width / slice : 1; } |
int slice; |