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

Unified Diff: content/public/browser/web_contents.h

Issue 1411203010: Separate RenderViewHost from RenderWidgetHost, part 4: delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: oops Created 5 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/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 795bec5a678da5d77c5485d6e4a16b73063ecbd9..59188d0f9edc3b87ab981f1f7d6b348c52eb376d 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -161,10 +161,9 @@ class WebContents : public PageNavigator,
const CreateParams& params,
const SessionStorageNamespaceMap& session_storage_namespace_map);
- // Returns a WebContents that wraps the RenderViewHost, or nullptr if the
+ // Returns the WebContents that owns the RenderViewHost, or nullptr if the
// render view host's delegate isn't a WebContents.
- CONTENT_EXPORT static WebContents* FromRenderViewHost(
- const RenderViewHost* rvh);
+ CONTENT_EXPORT static WebContents* FromRenderViewHost(RenderViewHost* rvh);
CONTENT_EXPORT static WebContents* FromRenderFrameHost(RenderFrameHost* rfh);

Powered by Google App Engine
This is Rietveld 408576698