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

Unified Diff: Source/core/frame/PageScaleConstraints.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/PageScaleConstraints.h
diff --git a/Source/core/frame/PageScaleConstraints.h b/Source/core/frame/PageScaleConstraints.h
index d5874b5fe5d1c47b939ac12346ffc008b4fbd078..1e8dd9637490b1fa8dedb3a4d7880234f0b30141 100644
--- a/Source/core/frame/PageScaleConstraints.h
+++ b/Source/core/frame/PageScaleConstraints.h
@@ -33,10 +33,12 @@
#include "core/CoreExport.h"
#include "platform/geometry/FloatSize.h"
+#include "wtf/Allocator.h"
namespace blink {
struct CORE_EXPORT PageScaleConstraints {
+ DISALLOW_ALLOCATION();
FloatSize layoutSize;
float initialScale;

Powered by Google App Engine
This is Rietveld 408576698