| Index: third_party/WebKit/Source/web/SuspendableScriptExecutor.h
|
| diff --git a/third_party/WebKit/Source/web/SuspendableScriptExecutor.h b/third_party/WebKit/Source/web/SuspendableScriptExecutor.h
|
| index 684318ad72d72e11dc415e393406175c0ffb0e2c..5b9ae983fb45175d5258d57abba1d80e5ea032f0 100644
|
| --- a/third_party/WebKit/Source/web/SuspendableScriptExecutor.h
|
| +++ b/third_party/WebKit/Source/web/SuspendableScriptExecutor.h
|
| @@ -15,6 +15,7 @@ namespace blink {
|
|
|
| class LocalFrame;
|
| class ScriptSourceCode;
|
| +class ScriptState;
|
| class WebScriptExecutionCallback;
|
|
|
| class SuspendableScriptExecutor final
|
| @@ -48,6 +49,7 @@ class SuspendableScriptExecutor final
|
| virtual ~Executor() {}
|
|
|
| virtual Vector<v8::Local<v8::Value>> execute(LocalFrame*) = 0;
|
| + virtual ScriptState* getScriptState(LocalFrame*) = 0;
|
|
|
| DEFINE_INLINE_VIRTUAL_TRACE(){};
|
| };
|
| @@ -63,6 +65,8 @@ class SuspendableScriptExecutor final
|
| void executeAndDestroySelf();
|
| void dispose();
|
|
|
| + // TODO(devlin): m_frame is likely redundant with context accessor on
|
| + // SuspendableTimer.
|
| Member<LocalFrame> m_frame;
|
| WebScriptExecutionCallback* m_callback;
|
|
|
|
|