| Index: third_party/WebKit/Source/core/frame/Location.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/Location.cpp b/third_party/WebKit/Source/core/frame/Location.cpp
|
| index acfa4c377eea3e66fe231db75aa131204d9ae845..bd0a124a03f8aa684b83958ee7e6daab827d8aeb 100644
|
| --- a/third_party/WebKit/Source/core/frame/Location.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/Location.cpp
|
| @@ -49,8 +49,11 @@ DEFINE_TRACE(Location) {
|
|
|
| inline const KURL& Location::url() const {
|
| const KURL& url = toLocalFrame(m_frame)->document()->url();
|
| - if (!url.isValid())
|
| - return blankURL(); // Use "about:blank" while the page is still loading (before we have a frame).
|
| + if (!url.isValid()) {
|
| + // Use "about:blank" while the page is still loading (before we have a
|
| + // frame).
|
| + return blankURL();
|
| + }
|
|
|
| return url;
|
| }
|
|
|