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

Unified Diff: Source/core/frame/FrameView.h

Issue 1315783003: Make classes and structures in core/frame 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/frame/FrameView.h
diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h
index 658e9df69d0958472e573808d1a75d3d7163a007..9a43b396fa5a68c32f3f2b0727b5773bdea3d30f 100644
--- a/Source/core/frame/FrameView.h
+++ b/Source/core/frame/FrameView.h
@@ -41,6 +41,7 @@
#include "platform/scroll/Scrollbar.h"
#include "public/platform/WebDisplayMode.h"
#include "public/platform/WebRect.h"
+#include "wtf/Allocator.h"
#include "wtf/Forward.h"
#include "wtf/HashSet.h"
#include "wtf/ListHashSet.h"
@@ -590,6 +591,7 @@ protected:
void updateScrollbars(const DoubleSize& desiredOffset);
class InUpdateScrollbarsScope {
+ STACK_ALLOCATED();
public:
explicit InUpdateScrollbarsScope(FrameView* view)
: m_scope(view->m_inUpdateScrollbars, true)

Powered by Google App Engine
This is Rietveld 408576698