Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Unified Diff: third_party/WebKit/Source/core/frame/Location.cpp

Issue 2393313002: reflow comments in core/frame (Closed)
Patch Set: tweak Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/frame/Location.h ('k') | third_party/WebKit/Source/core/frame/Navigator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/Location.h ('k') | third_party/WebKit/Source/core/frame/Navigator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698