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

Unified Diff: Source/core/paint/FileUploadControlPainter.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/FileUploadControlPainter.h
diff --git a/Source/core/paint/FileUploadControlPainter.h b/Source/core/paint/FileUploadControlPainter.h
index af51afce6e3b2796157d3854ced6b1823b0d687d..f4da10602d0d64728584f89bb704e13d1604510a 100644
--- a/Source/core/paint/FileUploadControlPainter.h
+++ b/Source/core/paint/FileUploadControlPainter.h
@@ -5,6 +5,8 @@
#ifndef FileUploadControlPainter_h
#define FileUploadControlPainter_h
+#include "wtf/Allocator.h"
+
namespace blink {
struct PaintInfo;
@@ -12,6 +14,7 @@ class LayoutPoint;
class LayoutFileUploadControl;
class FileUploadControlPainter {
+ STACK_ALLOCATED();
public:
FileUploadControlPainter(LayoutFileUploadControl& layoutFileUploadControl) : m_layoutFileUploadControl(layoutFileUploadControl) { }

Powered by Google App Engine
This is Rietveld 408576698