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

Unified Diff: chrome/browser/ui/views/location_bar/click_handler.cc

Issue 4694008: Make pink's TabContentsWrapper change compile on Windows.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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/ui/views/location_bar/click_handler.cc
===================================================================
--- chrome/browser/ui/views/location_bar/click_handler.cc (revision 66453)
+++ chrome/browser/ui/views/location_bar/click_handler.cc (working copy)
@@ -6,6 +6,7 @@
#include "chrome/browser/tab_contents/navigation_controller.h"
#include "chrome/browser/tab_contents/tab_contents.h"
+#include "chrome/browser/tab_contents_wrapper.h"
#include "chrome/browser/views/location_bar/location_bar_view.h"
#include "views/view.h"
@@ -25,7 +26,7 @@
if (location_bar_->location_entry()->IsEditingOrEmpty())
return;
- TabContents* tab = location_bar_->GetTabContents();
+ TabContents* tab = location_bar_->GetTabContentsWrapper()->tab_contents();
NavigationEntry* nav_entry = tab->controller().GetActiveEntry();
if (!nav_entry) {
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698