| 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 0c5d55bad251e0ca5f6800f51a1a094b18c3aea3..8cf33aa3b8d1d32439b95b87e651411162c720f2 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -276,7 +276,7 @@ WebContentsImpl::WebContentsImpl(
|
| static_cast<int>(content::kMaximumZoomFactor * 100)),
|
| temporary_zoom_settings_(false),
|
| content_restrictions_(0),
|
| - view_type_(content::VIEW_TYPE_TAB_CONTENTS),
|
| + view_type_(content::VIEW_TYPE_WEB_CONTENTS),
|
| has_opener_(false),
|
| color_chooser_(NULL) {
|
| render_manager_.Init(browser_context, site_instance, routing_id);
|
| @@ -302,8 +302,8 @@ WebContentsImpl::WebContentsImpl(
|
| }
|
| CHECK(view_.get());
|
|
|
| - // We have the initial size of the view be based on the size of the passed in
|
| - // tab contents (normally a tab from the same window).
|
| + // We have the initial size of the view be based on the size of the view of
|
| + // the passed in WebContents.
|
| view_->CreateView(base_web_contents ?
|
| base_web_contents->GetView()->GetContainerSize() : gfx::Size());
|
|
|
| @@ -328,7 +328,7 @@ WebContentsImpl::~WebContentsImpl() {
|
|
|
| NotifyDisconnected();
|
|
|
| - // Notify any observer that have a reference on this tab contents.
|
| + // Notify any observer that have a reference on this WebContents.
|
| content::NotificationService::current()->Notify(
|
| content::NOTIFICATION_WEB_CONTENTS_DESTROYED,
|
| content::Source<WebContents>(this),
|
|
|