| Index: chrome/browser/history/top_sites.cc
|
| ===================================================================
|
| --- chrome/browser/history/top_sites.cc (revision 116288)
|
| +++ chrome/browser/history/top_sites.cc (working copy)
|
| @@ -42,6 +42,7 @@
|
| #include "ui/gfx/image/image_util.h"
|
|
|
| using content::BrowserThread;
|
| +using content::NavigationController;
|
|
|
| namespace history {
|
|
|
| @@ -845,8 +846,8 @@
|
| }
|
| StartQueryForMostVisited();
|
| } else if (type == content::NOTIFICATION_NAV_ENTRY_COMMITTED) {
|
| - content::NavigationController* controller =
|
| - content::Source<content::NavigationController>(source).ptr();
|
| + NavigationController* controller =
|
| + content::Source<NavigationController>(source).ptr();
|
| Profile* profile = Profile::FromBrowserContext(
|
| controller->GetWebContents()->GetBrowserContext());
|
| if (profile == profile_ && !IsFull()) {
|
|
|