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

Unified Diff: chrome/browser/ui/views/link_disambiguation/link_disambiguation_popup.cc

Issue 1053663003: Cleanup: Remove unused variables in chrome/ found by Scythe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/ui/views/link_disambiguation/link_disambiguation_popup.cc
diff --git a/chrome/browser/ui/views/link_disambiguation/link_disambiguation_popup.cc b/chrome/browser/ui/views/link_disambiguation/link_disambiguation_popup.cc
index fa038d58ddd628f678ff50f8b42cd83cd14cf81a..7186ab3ec3d004cb29fbd236bfb4ab2b3a00f01e 100644
--- a/chrome/browser/ui/views/link_disambiguation/link_disambiguation_popup.cc
+++ b/chrome/browser/ui/views/link_disambiguation/link_disambiguation_popup.cc
@@ -22,7 +22,6 @@ class LinkDisambiguationPopup::ZoomBubbleView
ZoomBubbleView(views::Widget* top_level_widget,
const gfx::Rect& target_rect,
const gfx::ImageSkia* zoomed_skia_image,
- const aura::Window* content,
LinkDisambiguationPopup* popup,
const base::Callback<void(ui::GestureEvent*)>& gesture_cb,
const base::Callback<void(ui::MouseEvent*)>& mouse_cb);
@@ -39,7 +38,6 @@ class LinkDisambiguationPopup::ZoomBubbleView
void OnWidgetClosing(views::Widget* widget) override;
const float scale_;
- const aura::Window* content_;
const base::Callback<void(ui::GestureEvent*)> gesture_cb_;
const base::Callback<void(ui::MouseEvent*)> mouse_cb_;
LinkDisambiguationPopup* popup_;
@@ -52,7 +50,6 @@ LinkDisambiguationPopup::ZoomBubbleView::ZoomBubbleView(
views::Widget* top_level_widget,
const gfx::Rect& target_rect,
const gfx::ImageSkia* zoomed_skia_image,
- const aura::Window* content,
LinkDisambiguationPopup* popup,
const base::Callback<void(ui::GestureEvent*)>& gesture_cb,
const base::Callback<void(ui::MouseEvent*)>& mouse_cb)
@@ -61,7 +58,6 @@ LinkDisambiguationPopup::ZoomBubbleView::ZoomBubbleView(
views::BubbleBorder::FLOAT),
scale_(static_cast<float>(zoomed_skia_image->width()) /
static_cast<float>(target_rect.width())),
- content_(content),
gesture_cb_(gesture_cb),
mouse_cb_(mouse_cb),
popup_(popup),
@@ -166,7 +162,6 @@ void LinkDisambiguationPopup::Show(
top_level_widget,
target_rect,
gfx::Image::CreateFrom1xBitmap(zoomed_bitmap).ToImageSkia(),
- content_,
this,
gesture_cb,
mouse_cb);

Powered by Google App Engine
This is Rietveld 408576698