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

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

Issue 2706923002: Rework security checks to be based on Window rather than Frame. (Closed)
Patch Set: Address review comments. Created 3 years, 9 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
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 12fc28031f710ad5477417d0fece231cf307c1e0..359b6196d345d4cbd626a605ac254b95b84f8214 100644
--- a/third_party/WebKit/Source/core/frame/Location.h
+++ b/third_party/WebKit/Source/core/frame/Location.h
@@ -58,8 +58,6 @@ class CORE_EXPORT Location final : public GarbageCollected<Location>,
}
DOMWindow* domWindow() const { return m_domWindow.get(); }
- // TODO(dcheng): Deprecated and will be removed. Do not use in new code!
- Frame* frame() const { return m_domWindow->frame(); }
void setHref(LocalDOMWindow* currentWindow,
LocalDOMWindow* enteredWindow,

Powered by Google App Engine
This is Rietveld 408576698