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

Unified Diff: Source/core/inspector/v8/V8DebuggerListener.h

Issue 1308273007: Make classes and structures in core/inspector fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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/inspector/v8/V8DebuggerClient.h ('k') | Source/core/inspector/v8/V8JavaScriptCallFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/v8/V8DebuggerListener.h
diff --git a/Source/core/inspector/v8/V8DebuggerListener.h b/Source/core/inspector/v8/V8DebuggerListener.h
index eac255805bdadcd420760a097ad5be4a0c73a2f1..9751ad0b5d0115228e3ef7c05357c126d871b2d1 100644
--- a/Source/core/inspector/v8/V8DebuggerListener.h
+++ b/Source/core/inspector/v8/V8DebuggerListener.h
@@ -31,6 +31,7 @@
#define V8DebuggerListener_h
#include "core/CoreExport.h"
+#include "wtf/Allocator.h"
#include "wtf/Forward.h"
#include "wtf/Vector.h"
#include "wtf/text/WTFString.h"
@@ -43,6 +44,7 @@ enum CompileResult { CompileSuccess, CompileError };
class CORE_EXPORT V8DebuggerListener {
public:
class Script {
+ DISALLOW_ALLOCATION();
public:
Script();
@@ -97,6 +99,7 @@ public:
};
struct ParsedScript {
+ ALLOW_ONLY_INLINE_ALLOCATION();
String scriptId;
Script script;
CompileResult compileResult;
« no previous file with comments | « Source/core/inspector/v8/V8DebuggerClient.h ('k') | Source/core/inspector/v8/V8JavaScriptCallFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698