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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp

Issue 1878943003: Remove RawPtr from bindings/ (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/custom/V8CustomEventCustom.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp
index 5c961b606bcf0214a9144277e97c4e51db0b73ea..84e382e4184d1488a80fdd4a92cccb2718b82345 100644
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp
@@ -85,7 +85,7 @@ void V8CustomEvent::constructorCustom(const v8::FunctionCallbackInfo<v8::Value>&
return;
}
- RawPtr<CustomEvent> impl = CustomEvent::create(type, eventInitDict);
+ CustomEvent* impl = CustomEvent::create(type, eventInitDict);
v8::Local<v8::Object> wrapper = info.Holder();
wrapper = impl->associateWithWrapper(info.GetIsolate(), &V8CustomEvent::wrapperTypeInfo, wrapper);
@@ -93,7 +93,7 @@ void V8CustomEvent::constructorCustom(const v8::FunctionCallbackInfo<v8::Value>&
// |detail| as a hidden value to avoid cycle references.
if (eventInitDict.hasDetail()) {
v8::Local<v8::Value> v8Detail = eventInitDict.detail().v8Value();
- storeDetail(ScriptState::current(info.GetIsolate()), impl.get(), wrapper, v8Detail);
+ storeDetail(ScriptState::current(info.GetIsolate()), impl, wrapper, v8Detail);
}
v8SetReturnValue(info, wrapper);
}

Powered by Google App Engine
This is Rietveld 408576698