| Index: chrome/browser/tab_contents/thumbnail_generator.cc
|
| diff --git a/chrome/browser/tab_contents/thumbnail_generator.cc b/chrome/browser/tab_contents/thumbnail_generator.cc
|
| index 2090af3e38c161231b336f097e5b67898d9f54a3..43ad3af356a4486b8e117308128af2045dc6d3d3 100644
|
| --- a/chrome/browser/tab_contents/thumbnail_generator.cc
|
| +++ b/chrome/browser/tab_contents/thumbnail_generator.cc
|
| @@ -185,7 +185,8 @@ void ThumbnailGenerator::StartThumbnailing(WebContents* web_contents) {
|
| // subclass, RenderViewHost when it is in a tab. We don't make thumbnails
|
| // for RenderViewHosts that aren't in tabs, or RenderWidgetHosts that
|
| // aren't views like select popups.
|
| - registrar_.Add(this, content::NOTIFICATION_RENDER_VIEW_HOST_CREATED_FOR_TAB,
|
| + registrar_.Add(this,
|
| + content::NOTIFICATION_WEB_CONTENTS_RENDER_VIEW_HOST_CREATED,
|
| content::Source<WebContents>(web_contents));
|
| registrar_.Add(this, content::NOTIFICATION_WEB_CONTENTS_DISCONNECTED,
|
| content::Source<WebContents>(web_contents));
|
| @@ -319,7 +320,7 @@ void ThumbnailGenerator::Observe(int type,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
| switch (type) {
|
| - case content::NOTIFICATION_RENDER_VIEW_HOST_CREATED_FOR_TAB: {
|
| + case content::NOTIFICATION_WEB_CONTENTS_RENDER_VIEW_HOST_CREATED: {
|
| // Install our observer for all new RVHs.
|
| RenderViewHost* renderer =
|
| content::Details<RenderViewHost>(details).ptr();
|
|
|