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

Unified Diff: Source/bindings/core/v8/V8EventListenerList.h

Issue 1278983003: Adding allocator annotations to blink classes and structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed patch conflict 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/bindings/core/v8/V8DOMWrapper.h ('k') | Source/bindings/core/v8/V8GCController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8EventListenerList.h
diff --git a/Source/bindings/core/v8/V8EventListenerList.h b/Source/bindings/core/v8/V8EventListenerList.h
index ecd42f744c8f87b5e14ed9243e9a0c5b85ab4069..5e8e8923059eaa511cac7ec0c7711cf2ca075ff6 100644
--- a/Source/bindings/core/v8/V8EventListenerList.h
+++ b/Source/bindings/core/v8/V8EventListenerList.h
@@ -34,6 +34,7 @@
#include "bindings/core/v8/V8Binding.h"
#include "bindings/core/v8/V8EventListener.h"
#include "core/CoreExport.h"
+#include "wtf/Allocator.h"
#include <v8.h>
namespace blink {
@@ -45,6 +46,7 @@ enum ListenerLookupType {
// This is a container for V8EventListener objects that uses hidden properties of v8::Object to speed up lookups.
class V8EventListenerList {
+ STATIC_ONLY(V8EventListenerList);
public:
static PassRefPtrWillBeRawPtr<V8EventListener> findWrapper(v8::Local<v8::Value> value, ScriptState* scriptState)
{
« no previous file with comments | « Source/bindings/core/v8/V8DOMWrapper.h ('k') | Source/bindings/core/v8/V8GCController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698