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

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

Issue 11416042: views: Change the LocationBarView delegate's API to GetWebContents(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed 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..29c0f0a6618db3ba77aa71f67cfa58436722294d 100644
--- a/chrome/browser/ui/views/location_bar/zoom_view.cc
+++ b/chrome/browser/ui/views/location_bar/zoom_view.cc
@@ -88,5 +88,5 @@ int ZoomView::GetBuiltInHorizontalPadding() const {
void ZoomView::ActivateBubble() {
ZoomBubbleView::ShowBubble(
- this, location_bar_delegate_->GetTabContents()->web_contents(), false);
+ this, location_bar_delegate_->GetWebContents(), false);
}

Powered by Google App Engine
This is Rietveld 408576698