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

Unified Diff: Source/core/paint/ThemePainter.h

Issue 1319893002: Make classes and structures in core/paint 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
Index: Source/core/paint/ThemePainter.h
diff --git a/Source/core/paint/ThemePainter.h b/Source/core/paint/ThemePainter.h
index 4137030da9886afce9b8a93cad50e87a2975b596..3be991e7c44148d5a851770e5dde13e629b3dca1 100644
--- a/Source/core/paint/ThemePainter.h
+++ b/Source/core/paint/ThemePainter.h
@@ -24,6 +24,7 @@
#define ThemePainter_h
#include "platform/ThemeTypes.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -33,6 +34,7 @@ class LayoutObject;
struct PaintInfo;
class ThemePainter {
+ DISALLOW_ALLOCATION();
public:
// This method is called to paint the widget as a background of the LayoutObject. A widget's foreground, e.g., the
// text of a button, is always rendered by the engine itself. The boolean return value indicates

Powered by Google App Engine
This is Rietveld 408576698