| Index: chrome/browser/browser.cc
|
| ===================================================================
|
| --- chrome/browser/browser.cc (revision 13295)
|
| +++ chrome/browser/browser.cc (working copy)
|
| @@ -637,8 +637,8 @@
|
| UserMetrics::RecordAction(L"LoadURL", profile_);
|
| LocationBar* location_bar = window_->GetLocationBar();
|
| OpenURL(GURL(WideToUTF8(location_bar->GetInputString())), GURL(),
|
| - location_bar->GetWindowOpenDisposition(),
|
| - location_bar->GetPageTransition());
|
| + location_bar->GetWindowOpenDisposition(),
|
| + location_bar->GetPageTransition());
|
| }
|
|
|
| void Browser::Go(WindowOpenDisposition disposition) {
|
| @@ -1685,8 +1685,8 @@
|
|
|
| // Update the location bar and load state. These are both synchronous
|
| // updates inside of ScheduleUIUpdate.
|
| - ScheduleUIUpdate(source, TabContents::INVALIDATE_URL |
|
| - TabContents::INVALIDATE_LOAD);
|
| + ScheduleUIUpdate(current_tab, TabContents::INVALIDATE_URL |
|
| + TabContents::INVALIDATE_LOAD);
|
| } else if (disposition == OFF_THE_RECORD) {
|
| OpenURLOffTheRecord(profile_, url);
|
| return;
|
|
|