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 33e3c667246f5a944890517602751b2fb81432bc..3d01b570bc04e60182766aeeec854a2be1e4e4fe 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp |
@@ -951,8 +951,8 @@ v8::Isolate* toIsolate(ExecutionContext* context) { |
} |
v8::Isolate* toIsolate(LocalFrame* frame) { |
- ASSERT(frame); |
- return frame->script().isolate(); |
+ DCHECK(frame); |
+ return frame->getWindowProxyManager()->isolate(); |
} |
v8::Local<v8::Value> freezeV8Object(v8::Local<v8::Value> value, |