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

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

Issue 1883663005: Remove remaining binding layer RawPtr<>s. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: third_party/WebKit/Source/bindings/core/v8/V8EventListenerList.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8EventListenerList.h b/third_party/WebKit/Source/bindings/core/v8/V8EventListenerList.h
index d3bd1c7f40328683fa395f22160787d4c6cf1ecf..63f28179db5fd00ca637ac47477a63e1dafb1976 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8EventListenerList.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8EventListenerList.h
@@ -48,7 +48,7 @@ enum ListenerLookupType {
class V8EventListenerList {
STATIC_ONLY(V8EventListenerList);
public:
- static RawPtr<V8EventListener> findWrapper(v8::Local<v8::Value> value, ScriptState* scriptState)
+ static V8EventListener* findWrapper(v8::Local<v8::Value> value, ScriptState* scriptState)
{
ASSERT(scriptState->isolate()->InContext());
if (!value->IsObject())
@@ -59,9 +59,9 @@ public:
}
template<typename WrapperType>
- static RawPtr<V8EventListener> findOrCreateWrapper(v8::Local<v8::Value>, bool isAttribute, ScriptState*);
+ static V8EventListener* findOrCreateWrapper(v8::Local<v8::Value>, bool isAttribute, ScriptState*);
- CORE_EXPORT static RawPtr<EventListener> getEventListener(ScriptState*, v8::Local<v8::Value>, bool isAttribute, ListenerLookupType);
+ CORE_EXPORT static EventListener* getEventListener(ScriptState*, v8::Local<v8::Value>, bool isAttribute, ListenerLookupType);
private:
static V8EventListener* doFindWrapper(v8::Local<v8::Object> object, v8::Local<v8::String> wrapperProperty, ScriptState* scriptState)
@@ -81,7 +81,7 @@ private:
};
template<typename WrapperType>
-RawPtr<V8EventListener> V8EventListenerList::findOrCreateWrapper(v8::Local<v8::Value> value, bool isAttribute, ScriptState* scriptState)
+V8EventListener* V8EventListenerList::findOrCreateWrapper(v8::Local<v8::Value> value, bool isAttribute, ScriptState* scriptState)
{
v8::Isolate* isolate = scriptState->isolate();
ASSERT(isolate->InContext());

Powered by Google App Engine
This is Rietveld 408576698