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

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

Issue 2704303002: Simplify conditionals for blink::Location::isActive(). (Closed)
Patch Set: Delete redundant check Created 3 years, 10 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 | « no previous file | third_party/WebKit/Source/core/frame/Location.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.h
diff --git a/third_party/WebKit/Source/core/frame/Location.h b/third_party/WebKit/Source/core/frame/Location.h
index 43a58ff4934ab649b7456aa2e56a0507bfc811bc..12fc28031f710ad5477417d0fece231cf307c1e0 100644
--- a/third_party/WebKit/Source/core/frame/Location.h
+++ b/third_party/WebKit/Source/core/frame/Location.h
@@ -131,9 +131,7 @@ class CORE_EXPORT Location final : public GarbageCollected<Location>,
// LocalDOMWindow.
Document* document() const;
- // Returns true if:
- // (1) the associated Window is the active Window in the frame
- // (2) and the frame is attached.
+ // Returns true if the associated Window is the active Window in the frame.
bool isAttached() const;
enum class SetLocationPolicy { Normal, ReplaceThisFrame };
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/Location.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698