| Index: third_party/WebKit/Source/core/frame/History.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/History.cpp b/third_party/WebKit/Source/core/frame/History.cpp
|
| index d878e9e5ece66ecd8459c6d15edbbf2950112d61..c053a6e485c96c8b08db34c3564538794f8b97ab 100644
|
| --- a/third_party/WebKit/Source/core/frame/History.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/History.cpp
|
| @@ -28,6 +28,7 @@
|
| #include "bindings/core/v8/ExceptionState.h"
|
| #include "bindings/core/v8/ScriptState.h"
|
| #include "core/dom/Document.h"
|
| +#include "core/dom/ExecutionContext.h"
|
| #include "core/frame/LocalFrame.h"
|
| #include "core/frame/LocalFrameClient.h"
|
| #include "core/loader/DocumentLoader.h"
|
| @@ -136,7 +137,7 @@ void History::go(ScriptState* script_state, int delta) {
|
| return;
|
|
|
| DCHECK(IsMainThread());
|
| - Document* active_document = ToDocument(script_state->GetExecutionContext());
|
| + Document* active_document = ToDocument(ExecutionContext::From(script_state));
|
| if (!active_document)
|
| return;
|
|
|
|
|