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

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

Issue 2928033002: Move GetDocument method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Split a DCHECK in two as suggested by boliu@. 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 ad70811b9eee0e0984d92908f836705ce4d44ccc..c0178cad3c051dadd038c872b1556d92e32738bc 100644
--- a/third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.cpp
+++ b/third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.cpp
@@ -113,12 +113,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