| 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 176a6376689567713d4f45fe2c10e2f45e7a6160..2288a3c237461e3f882fcdcf57b08f6a97e2ce01 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| @@ -259,8 +259,10 @@ void V8Window::openMethodCustom(
|
| DOMWindow* openedWindow = toLocalDOMWindow(impl)->open(
|
| urlString, frameName, windowFeaturesString,
|
| currentDOMWindow(info.GetIsolate()), enteredDOMWindow(info.GetIsolate()));
|
| - if (!openedWindow)
|
| + if (!openedWindow) {
|
| + v8SetReturnValueNull(info);
|
| return;
|
| + }
|
|
|
| v8SetReturnValueFast(info, openedWindow, impl);
|
| }
|
|
|