Index: third_party/WebKit/Source/core/paint/NinePieceImageGrid.h |
diff --git a/third_party/WebKit/Source/core/paint/NinePieceImageGrid.h b/third_party/WebKit/Source/core/paint/NinePieceImageGrid.h |
index 7635484f4aa0e1b4470f547cfdca76a677265b3e..b23a07b9e479f3b915892448415b1251bba1dc92 100644 |
--- a/third_party/WebKit/Source/core/paint/NinePieceImageGrid.h |
+++ b/third_party/WebKit/Source/core/paint/NinePieceImageGrid.h |
@@ -82,7 +82,7 @@ public: |
NinePieceDrawInfo getNinePieceDrawInfo(NinePiece) const; |
struct Edge { |
- DISALLOW_ALLOCATION(); |
+ DISALLOW_NEW(); |
bool isDrawable() const { return slice > 0 && width > 0; } |
float scale() const { return isDrawable() ? (float)width / slice : 1; } |
int slice; |