Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Unified Diff: chrome/browser/browser.cc

Issue 63125: Fix a flicker of the URL bar after you enter it. Since no tab contents was... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/tab_contents/tab_contents_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | chrome/browser/tab_contents/tab_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698