| Index: third_party/WebKit/Source/bindings/tests/results/core/VoidExperimentalCallbackFunction.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/VoidExperimentalCallbackFunction.cpp b/third_party/WebKit/Source/bindings/tests/results/core/VoidExperimentalCallbackFunction.cpp
|
| index 41fc8b88a4f4abaf5ccff54d07dd7462585a04f8..4260b73fea03c8ce663b84b271753361018c6e30 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/VoidExperimentalCallbackFunction.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/VoidExperimentalCallbackFunction.cpp
|
| @@ -8,6 +8,7 @@
|
|
|
| #include "VoidExperimentalCallbackFunction.h"
|
|
|
| +#include "bindings/core/v8/ExceptionState.h"
|
| #include "bindings/core/v8/ScriptState.h"
|
| #include "bindings/core/v8/ToV8.h"
|
| #include "bindings/core/v8/V8Binding.h"
|
| @@ -27,7 +28,7 @@ DEFINE_TRACE(VoidExperimentalCallbackFunction)
|
| {
|
| }
|
|
|
| -bool VoidExperimentalCallbackFunction::call(ScriptState* scriptState, ScriptWrappable* scriptWrappable, ExceptionState& exceptionState)
|
| +bool VoidExperimentalCallbackFunction::call(ScriptState* scriptState, ScriptWrappable* scriptWrappable)
|
| {
|
| if (!scriptState->contextIsValid())
|
| return false;
|
| @@ -40,6 +41,9 @@ bool VoidExperimentalCallbackFunction::call(ScriptState* scriptState, ScriptWrap
|
| if (m_callback.isEmpty())
|
| return false;
|
|
|
| + // TODO(bashi): Make sure that using TrackExceptionState is OK.
|
| + // crbug.com/653769
|
| + TrackExceptionState exceptionState;
|
| ScriptState::Scope scope(scriptState);
|
|
|
| v8::Local<v8::Value> thisValue = toV8(scriptWrappable, scriptState->context()->Global(), scriptState->isolate());
|
|
|