| 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 5cd2bab1c488548905c680d3feb774b035f16a9e..0ccf6f2bea17d3dae699317ce7d50db252d5a6a6 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
|
| @@ -811,7 +811,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);
|
| @@ -825,10 +825,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();
|
| }
|
|
|
| bool isValidEnum(const String& value,
|
|
|