| Index: content/browser/tab_contents/tab_contents.cc
|
| diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
|
| index ad8a7720d3878afa51bf8fb4277ddd7427586f48..95f83662aa9aff15254d23c27c6518d23a609768 100644
|
| --- a/content/browser/tab_contents/tab_contents.cc
|
| +++ b/content/browser/tab_contents/tab_contents.cc
|
| @@ -1245,10 +1245,6 @@ ViewType::Type TabContents::GetRenderViewType() const {
|
| return ViewType::TAB_CONTENTS;
|
| }
|
|
|
| -int TabContents::GetBrowserWindowID() const {
|
| - return controller().window_id().id();
|
| -}
|
| -
|
| void TabContents::RenderViewCreated(RenderViewHost* render_view_host) {
|
| NotificationService::current()->Notify(
|
| NotificationType::RENDER_VIEW_HOST_CREATED_FOR_TAB,
|
| @@ -1273,6 +1269,9 @@ void TabContents::RenderViewCreated(RenderViewHost* render_view_host) {
|
|
|
| FOR_EACH_OBSERVER(
|
| TabContentsObserver, observers_, RenderViewCreated(render_view_host));
|
| +
|
| + if (delegate())
|
| + delegate()->RenderViewCreated(this, render_view_host);
|
| }
|
|
|
| void TabContents::RenderViewReady(RenderViewHost* rvh) {
|
|
|