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

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

Issue 11418043: Remove TabContents from OmniboxEditController and friends. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cros Created 8 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/zoom_view.cc
diff --git a/chrome/browser/ui/views/location_bar/zoom_view.cc b/chrome/browser/ui/views/location_bar/zoom_view.cc
index bba34e9bb4c4994eed37d3d74a50ac968dc14fdb..44ccf1228e41b46d19544296c33b7ee9b7dcb02e 100644
--- a/chrome/browser/ui/views/location_bar/zoom_view.cc
+++ b/chrome/browser/ui/views/location_bar/zoom_view.cc
@@ -4,7 +4,6 @@
#include "chrome/browser/ui/views/location_bar/zoom_view.h"
-#include "chrome/browser/ui/tab_contents/tab_contents.h"
#include "chrome/browser/ui/toolbar/toolbar_model.h"
#include "chrome/browser/ui/view_ids.h"
#include "chrome/browser/ui/views/location_bar/zoom_bubble_view.h"
@@ -88,5 +87,5 @@ int ZoomView::GetBuiltInHorizontalPadding() const {
void ZoomView::ActivateBubble() {
ZoomBubbleView::ShowBubble(
- this, location_bar_delegate_->GetTabContents()->web_contents(), false);
+ this, location_bar_delegate_->GetWebContents(), false);
}
« no previous file with comments | « chrome/browser/ui/views/location_bar/web_intents_button_view.cc ('k') | chrome/browser/ui/views/toolbar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698