| Index: chrome/browser/tab_contents/navigation_controller.cc
|
| diff --git a/chrome/browser/tab_contents/navigation_controller.cc b/chrome/browser/tab_contents/navigation_controller.cc
|
| index 244f2518b0a4fb2dc390bba6faca980116ad18ac..3704169ceb64dd7c82ee8ec47971d5e220442e47 100644
|
| --- a/chrome/browser/tab_contents/navigation_controller.cc
|
| +++ b/chrome/browser/tab_contents/navigation_controller.cc
|
| @@ -358,7 +358,7 @@ NavigationEntry* NavigationController::CreateNavigationEntry(
|
| // will actually be loaded. This real URL won't be shown to the user, just
|
| // used internally.
|
| GURL loaded_url(url);
|
| - BrowserURLHandler::RewriteURLIfNecessary(&loaded_url);
|
| + BrowserURLHandler::RewriteURLIfNecessary(&loaded_url, profile_);
|
|
|
| NavigationEntry* entry = new NavigationEntry(NULL, -1, loaded_url, referrer,
|
| string16(), transition);
|
|
|