Index: third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
index d7c0f26d43f625e1156c65fc56020f0ab9cebb26..82839c52e27b4140555b5fb4fadce1c236142166 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
@@ -118,7 +118,6 @@ void V8Window::frameElementAttributeGetterCustom(const v8::PropertyCallbackInfo< |
// The wrapper for an <iframe> should get its prototype from the context of the frame it's in, rather than its own frame. |
// So, use its containing document as the creation context when wrapping. |
v8::Local<v8::Value> creationContext = toV8(&impl->frameElement()->document(), info.Holder(), info.GetIsolate()); |
- RELEASE_ASSERT(!creationContext.IsEmpty()); |
v8::Local<v8::Value> wrapper = toV8(impl->frameElement(), v8::Local<v8::Object>::Cast(creationContext), info.GetIsolate()); |
v8SetReturnValue(info, wrapper); |
} |