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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp

Issue 2139363003: [DevTools] Cleanup v8_inspector API part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 5 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/core/inspector/InspectorDOMDebuggerAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp
index 8316c404fb99f164a3f8392d6963c30007ff9d01..224fc3764a74b572650a1084180e45b9fcbd1c2b 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp
@@ -466,11 +466,11 @@ std::unique_ptr<protocol::DOMDebugger::EventListener> InspectorDOMDebuggerAgent:
.setPassive(info.passive)
.setLocation(std::move(location)).build();
if (!objectGroupId.isEmpty()) {
- value->setHandler(m_v8Session->wrapObject(context, function, objectGroupId));
- value->setOriginalHandler(m_v8Session->wrapObject(context, info.handler, objectGroupId));
+ value->setHandler(m_v8Session->wrapObject(context, function, objectGroupId, false));
+ value->setOriginalHandler(m_v8Session->wrapObject(context, info.handler, objectGroupId, false));
v8::Local<v8::Function> removeFunction;
if (info.removeFunction.ToLocal(&removeFunction))
- value->setRemoveFunction(m_v8Session->wrapObject(context, removeFunction, objectGroupId));
+ value->setRemoveFunction(m_v8Session->wrapObject(context, removeFunction, objectGroupId, false));
}
return value;
}

Powered by Google App Engine
This is Rietveld 408576698