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

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
« no previous file with comments | « Source/core/frame/FrameConsole.h ('k') | Source/core/frame/LayoutSubtreeRootList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.h
diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h
index 7443273c9b318e6cff99a820d6a32d704204289e..37e884b2a50f5474b9ed80bce752c1a84d88df82 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"
@@ -585,6 +586,7 @@ protected:
void updateScrollbars(const DoubleSize& desiredOffset);
class InUpdateScrollbarsScope {
+ STACK_ALLOCATED();
public:
explicit InUpdateScrollbarsScope(FrameView* view)
: m_scope(view->m_inUpdateScrollbars, true)
« no previous file with comments | « Source/core/frame/FrameConsole.h ('k') | Source/core/frame/LayoutSubtreeRootList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698