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

Unified Diff: Source/core/frame/PageScaleConstraintsSet.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/PageScaleConstraints.h ('k') | Source/core/frame/RootFrameViewport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/PageScaleConstraintsSet.h
diff --git a/Source/core/frame/PageScaleConstraintsSet.h b/Source/core/frame/PageScaleConstraintsSet.h
index 356ea0527ea3f98abfd21c3a5f0944ae73cc3f75..57635d5d9583fa7c654bc08aca3b3b95b7a72fe7 100644
--- a/Source/core/frame/PageScaleConstraintsSet.h
+++ b/Source/core/frame/PageScaleConstraintsSet.h
@@ -36,6 +36,7 @@
#include "core/frame/PageScaleConstraints.h"
#include "platform/Length.h"
#include "platform/geometry/IntSize.h"
+#include "wtf/FastAllocBase.h"
#include "wtf/PassOwnPtr.h"
namespace blink {
@@ -43,6 +44,7 @@ namespace blink {
// This class harmonizes the viewport (particularly page scale) constraints from
// the meta viewport tag and other sources.
class CORE_EXPORT PageScaleConstraintsSet {
+ WTF_MAKE_FAST_ALLOCATED(PageScaleConstraintsSet);
public:
static PassOwnPtr<PageScaleConstraintsSet> create()
{
« no previous file with comments | « Source/core/frame/PageScaleConstraints.h ('k') | Source/core/frame/RootFrameViewport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698