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

Unified Diff: chrome/browser/browser.cc

Issue 114017: Use Chrome facilities for omnibox state save and restore on Mac. (Closed)
Patch Set: Wordsmithing. Created 11 years, 7 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
Index: chrome/browser/browser.cc
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 7d521b6c7f13aebdc6847b0cee85c7d9eac90cce..930aa85f23bef9b2caf03f9cf83f00f4aeb47d1d 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -1586,13 +1586,9 @@ void Browser::TabSelectedAt(TabContents* old_contents,
ProcessPendingUIUpdates();
if (old_contents) {
-#if defined(OS_WIN)
// Save what the user's currently typing, so it can be restored when we
// switch back to this tab.
window_->GetLocationBar()->SaveStateToContents(old_contents);
-#else
- NOTIMPLEMENTED();
-#endif
}
// Propagate the profile to the location bar.

Powered by Google App Engine
This is Rietveld 408576698