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

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

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/V8ErrorHandler.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8ErrorHandler.h b/third_party/WebKit/Source/bindings/core/v8/V8ErrorHandler.h
index 97ea2435e8a5f807f199b8aa01922158275c9977..c32502fa4448f573de0d3618f129a9fcabf5c53a 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8ErrorHandler.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8ErrorHandler.h
@@ -43,9 +43,9 @@ class V8ErrorHandler final : public V8EventListener {
public:
static RawPtr<V8ErrorHandler> create(v8::Local<v8::Object> listener, bool isInline, ScriptState* scriptState)
{
- RawPtr<V8ErrorHandler> eventListener = new V8ErrorHandler(isInline, scriptState);
+ V8ErrorHandler* eventListener = new V8ErrorHandler(isInline, scriptState);
eventListener->setListenerObject(listener);
- return eventListener.release();
+ return eventListener;
}
static void storeExceptionOnErrorEventWrapper(ScriptState*, ErrorEvent*, v8::Local<v8::Value>, v8::Local<v8::Object> creationContext);

Powered by Google App Engine
This is Rietveld 408576698