summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/web_contents.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/web_contents.h')
-rw-r--r--chrome/browser/tab_contents/web_contents.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/chrome/browser/tab_contents/web_contents.h b/chrome/browser/tab_contents/web_contents.h
index 0e62e8d..d02322e 100644
--- a/chrome/browser/tab_contents/web_contents.h
+++ b/chrome/browser/tab_contents/web_contents.h
@@ -69,9 +69,7 @@ class WebContents : public TabContents,
public:
// If instance is NULL, then creates a new process for this view. Otherwise
// initialize with a process already created for a different WebContents.
- // This will share the process between views in the same instance. If
- // render_view_factory is NULL, this will create RenderViewHost objects
- // directly.
+ // This will share the process between views in the same instance.
WebContents(Profile* profile,
SiteInstance* instance,
int routing_id,
@@ -470,10 +468,6 @@ class WebContents : public TabContents,
//
// If you are attaching to an already-existing RenderView, you should call
// InitWithExistingID.
- //
- // TODO(brettw) clean this up! This logic seems out of place. This is called
- // by the RenderViewHostManager, but also overridden by the DOMUIHost. Any
- // logic that has to be here should have a more clear name.
virtual bool CreateRenderViewForRenderManager(
RenderViewHost* render_view_host);