| Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| index 6d8352e8a9ce583a03b426daf72da614db504e39..fbdd9e40a89379a5cb5d9643c920a767642e1de6 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| @@ -1637,7 +1637,7 @@ DOMWindow* LocalDOMWindow::open(const String& url_string,
|
| // In those cases, we schedule a location change right now and return early.
|
| Frame* target_frame = nullptr;
|
| if (EqualIgnoringASCIICase(frame_name, "_top")) {
|
| - target_frame = GetFrame()->Tree().Top();
|
| + target_frame = &GetFrame()->Tree().Top();
|
| } else if (EqualIgnoringASCIICase(frame_name, "_parent")) {
|
| if (Frame* parent = GetFrame()->Tree().Parent())
|
| target_frame = parent;
|
|
|