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

Unified Diff: third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.cpp

Issue 2928033002: Move GetDocument method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Rebasing... Created 3 years, 6 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/exported/WebRemoteFrameImpl.cpp
diff --git a/third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.cpp b/third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.cpp
index bb30a26fa24d644d544e7a93b5eb450a8cd60c5e..67e4ba20c5533d9fae797c759ddbf77cef1788aa 100644
--- a/third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.cpp
+++ b/third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.cpp
@@ -122,12 +122,6 @@ WebView* WebRemoteFrameImpl::View() const {
return GetFrame()->GetPage()->GetChromeClient().GetWebView();
}
-WebDocument WebRemoteFrameImpl::GetDocument() const {
- // TODO(dcheng): this should also ASSERT_NOT_REACHED, but a lot of
- // code tries to access the document of a remote frame at the moment.
- return WebDocument();
-}
-
WebPerformance WebRemoteFrameImpl::Performance() const {
NOTREACHED();
return WebPerformance();

Powered by Google App Engine
This is Rietveld 408576698