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

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

Issue 2769263004: Remove Frame::host() method (Closed)
Patch Set: 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/Frame.cpp
diff --git a/third_party/WebKit/Source/core/frame/Frame.cpp b/third_party/WebKit/Source/core/frame/Frame.cpp
index a3d935d830d1188a95059f777c4b59cf84ad33d0..964bf0cf7f301d9afb95c693dc7a15b9d494934b 100644
--- a/third_party/WebKit/Source/core/frame/Frame.cpp
+++ b/third_party/WebKit/Source/core/frame/Frame.cpp
@@ -33,7 +33,6 @@
#include "bindings/core/v8/WindowProxyManager.h"
#include "core/dom/DocumentType.h"
#include "core/events/Event.h"
-#include "core/frame/FrameHost.h"
#include "core/frame/LocalDOMWindow.h"
#include "core/frame/Settings.h"
#include "core/frame/UseCounter.h"
@@ -98,12 +97,6 @@ Page* Frame::page() const {
return m_page;
}
-FrameHost* Frame::host() const {
- if (m_page)
- return &m_page->frameHost();
- return nullptr;
-}
-
bool Frame::isMainFrame() const {
return !tree().parent();
}

Powered by Google App Engine
This is Rietveld 408576698