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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 667713006: Implement automatic load of composed/embedded automation trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Created 6 years, 2 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: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index e6ee4cf2a1f398cd19129e468fd44eebe6cad981..8f09ec22b7d0e429950b857236e31a3d320c2b12 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -620,6 +620,7 @@ RenderProcessHost* WebContentsImpl::GetRenderProcessHost() const {
}
RenderFrameHost* WebContentsImpl::GetMainFrame() {
+
return frame_tree_.root()->current_frame_host();
}

Powered by Google App Engine
This is Rietveld 408576698