| Index: chrome/browser/ui/views/location_bar/click_handler.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/click_handler.cc b/chrome/browser/ui/views/location_bar/click_handler.cc
|
| index a087e4c8168838631ee76952ed00b72793b6b0e7..7be1bfcc9d2c4e5cda0aaa55d5532af02263910c 100644
|
| --- a/chrome/browser/ui/views/location_bar/click_handler.cc
|
| +++ b/chrome/browser/ui/views/location_bar/click_handler.cc
|
| @@ -4,7 +4,7 @@
|
|
|
| #include "chrome/browser/ui/views/location_bar/click_handler.h"
|
|
|
| -#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| +#include "chrome/browser/ui/tab_contents/tab_contents.h"
|
| #include "chrome/browser/ui/views/location_bar/location_bar_view.h"
|
| #include "content/public/browser/navigation_controller.h"
|
| #include "content/public/browser/navigation_entry.h"
|
| @@ -30,7 +30,7 @@ void ClickHandler::OnMouseReleased(const views::MouseEvent& event) {
|
| if (location_bar_->GetLocationEntry()->IsEditingOrEmpty())
|
| return;
|
|
|
| - WebContents* tab = location_bar_->GetTabContentsWrapper()->web_contents();
|
| + WebContents* tab = location_bar_->GetTabContents()->web_contents();
|
| const NavigationController& controller = tab->GetController();
|
| NavigationEntry* nav_entry = controller.GetActiveEntry();
|
| if (!nav_entry) {
|
|
|