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 2511fed997fea08cadb67a20585b8969ea65230d..38af4d99a5314d982e5bb27a01989c8dfa797983 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp |
@@ -835,7 +835,7 @@ v8::Local<v8::Context> toV8Context(ExecutionContext* context, |
return v8::Local<v8::Context>(); |
} |
-v8::Local<v8::Context> toV8Context(Frame* frame, DOMWrapperWorld& world) { |
+v8::Local<v8::Context> toV8Context(LocalFrame* frame, DOMWrapperWorld& world) { |
if (!frame) |
return v8::Local<v8::Context>(); |
v8::Local<v8::Context> context = toV8ContextEvenIfDetached(frame, world); |
@@ -849,10 +849,10 @@ v8::Local<v8::Context> toV8Context(Frame* frame, DOMWrapperWorld& world) { |
return v8::Local<v8::Context>(); |
} |
-v8::Local<v8::Context> toV8ContextEvenIfDetached(Frame* frame, |
+v8::Local<v8::Context> toV8ContextEvenIfDetached(LocalFrame* frame, |
DOMWrapperWorld& world) { |
ASSERT(frame); |
- return frame->windowProxy(world)->contextIfInitialized(); |
+ return frame->script().windowProxy(world)->contextIfInitialized(); |
dcheng
2017/01/18 23:43:17
For now, necessary to get to the WindowProxy as a
|
} |
void crashIfIsolateIsDead(v8::Isolate* isolate) { |