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

Unified Diff: Source/core/loader/FrameLoaderStateMachine.h

Issue 1304043006: Make classes and structures in core/loader 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/loader/FrameLoaderStateMachine.h
diff --git a/Source/core/loader/FrameLoaderStateMachine.h b/Source/core/loader/FrameLoaderStateMachine.h
index 304f9e5fbfd77023f82804e37118402a5a5f17ce..b127ccdfe61508301fc976e84089c7a6861f9e7f 100644
--- a/Source/core/loader/FrameLoaderStateMachine.h
+++ b/Source/core/loader/FrameLoaderStateMachine.h
@@ -30,6 +30,7 @@
#define FrameLoaderStateMachine_h
#include "core/CoreExport.h"
+#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
namespace blink {
@@ -37,6 +38,7 @@ namespace blink {
// Encapsulates a state machine for FrameLoader. Note that this is different from FrameState,
// which stores the state of the current load that FrameLoader is executing.
class CORE_EXPORT FrameLoaderStateMachine {
+ DISALLOW_ALLOCATION();
WTF_MAKE_NONCOPYABLE(FrameLoaderStateMachine);
public:
FrameLoaderStateMachine();

Powered by Google App Engine
This is Rietveld 408576698