| Index: third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp b/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
|
| index 8c526ddc3e6488b4beabc536932930fe04babae6..cd7c0288e9b2cd0f52f23d8891bd4ee16552b93e 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
|
| @@ -725,8 +725,9 @@ LocalDOMWindow* toLocalDOMWindow(v8::Local<v8::Context> context) {
|
| }
|
|
|
| LocalDOMWindow* enteredDOMWindow(v8::Isolate* isolate) {
|
| + V8PerIsolateData* perIsolateData = V8PerIsolateData::from(isolate);
|
| LocalDOMWindow* window =
|
| - toLocalDOMWindow(isolate->GetEnteredOrMicrotaskContext());
|
| + toLocalDOMWindow(toDOMWindow(perIsolateData->entryContext()));
|
| DCHECK(window);
|
| return window;
|
| }
|
|
|