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

Unified Diff: ui/views/controls/combobox/combobox.cc

Issue 2533053002: Handle view resize for ripple (Closed)
Patch Set: const -> constexpr Created 4 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
« no previous file with comments | « ui/views/controls/button/md_text_button.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/combobox/combobox.cc
diff --git a/ui/views/controls/combobox/combobox.cc b/ui/views/controls/combobox/combobox.cc
index 852aa5f0fddaa56ee1501cb98c99d538f8f57163..8b32edd0d9e3d61ef122bbd8527e32e7882b7520 100644
--- a/ui/views/controls/combobox/combobox.cc
+++ b/ui/views/controls/combobox/combobox.cc
@@ -151,7 +151,7 @@ class TransparentButton : public CustomButton {
std::unique_ptr<InkDropRipple> CreateInkDropRipple() const override {
return std::unique_ptr<views::InkDropRipple>(
new views::FloodFillInkDropRipple(
- GetLocalBounds(), GetInkDropCenterBasedOnLastEvent(),
+ size(), GetInkDropCenterBasedOnLastEvent(),
GetNativeTheme()->GetSystemColor(
ui::NativeTheme::kColorId_LabelEnabledColor),
ink_drop_visible_opacity()));
« no previous file with comments | « ui/views/controls/button/md_text_button.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698