| Index: third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| index 0884d44b0f42468bb82339d4ad4f6356fa0da3d2..3647697c2c67bcb36ce1dcb0facee68815be2d60 100644
|
| --- a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| @@ -369,9 +369,9 @@ void MainThreadDebugger::querySelectorCallback(
|
| Node* node = secondArgumentAsNode(info);
|
| if (!node || !node->isContainerNode())
|
| return;
|
| - ExceptionState exceptionState(ExceptionState::ExecutionContext, "$",
|
| - "CommandLineAPI", info.Holder(),
|
| - info.GetIsolate());
|
| + ExceptionState exceptionState(info.GetIsolate(),
|
| + ExceptionState::ExecutionContext,
|
| + "CommandLineAPI", "$");
|
| Element* element = toContainerNode(node)->querySelector(
|
| AtomicString(selector), exceptionState);
|
| if (exceptionState.hadException())
|
| @@ -392,9 +392,9 @@ void MainThreadDebugger::querySelectorAllCallback(
|
| Node* node = secondArgumentAsNode(info);
|
| if (!node || !node->isContainerNode())
|
| return;
|
| - ExceptionState exceptionState(ExceptionState::ExecutionContext, "$$",
|
| - "CommandLineAPI", info.Holder(),
|
| - info.GetIsolate());
|
| + ExceptionState exceptionState(info.GetIsolate(),
|
| + ExceptionState::ExecutionContext,
|
| + "CommandLineAPI", "$$");
|
| // toV8(elementList) doesn't work here, since we need a proper Array instance,
|
| // not NodeList.
|
| StaticElementList* elementList = toContainerNode(node)->querySelectorAll(
|
| @@ -425,9 +425,9 @@ void MainThreadDebugger::xpathSelectorCallback(
|
| if (!node || !node->isContainerNode())
|
| return;
|
|
|
| - ExceptionState exceptionState(ExceptionState::ExecutionContext, "$x",
|
| - "CommandLineAPI", info.Holder(),
|
| - info.GetIsolate());
|
| + ExceptionState exceptionState(info.GetIsolate(),
|
| + ExceptionState::ExecutionContext,
|
| + "CommandLineAPI", "$x");
|
| XPathResult* result = XPathEvaluator::create()->evaluate(
|
| selector, node, nullptr, XPathResult::kAnyType, ScriptValue(),
|
| exceptionState);
|
|
|