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

Unified Diff: chrome/browser/ui/views/status_bubble_views.cc

Issue 2897533003: Change default ink drop center points to center of contents bounds (Closed)
Patch Set: fix compile Created 3 years, 7 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
« no previous file with comments | « chrome/browser/ui/views/frame/opaque_browser_frame_view.cc ('k') | chrome/browser/ui/views/tabs/tab.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/status_bubble_views.cc
diff --git a/chrome/browser/ui/views/status_bubble_views.cc b/chrome/browser/ui/views/status_bubble_views.cc
index 1e236ec7bf1a56ac95a91ab06d270cabdf2efc51..bf2ac2fa2cdd983c1965f60335e2644ed88302f9 100644
--- a/chrome/browser/ui/views/status_bubble_views.cc
+++ b/chrome/browser/ui/views/status_bubble_views.cc
@@ -484,7 +484,7 @@ void StatusBubbleViews::StatusView::OnPaint(gfx::Canvas* canvas) {
popup_size_.height());
text_rect.Inset(kShadowThickness, kShadowThickness);
// Make sure the text is aligned to the right on RTL UIs.
- text_rect.set_x(GetMirroredXForRect(text_rect));
+ text_rect = GetMirroredRect(text_rect);
// Text color is the foreground tab text color at 60% alpha.
SkColor blended_text_color = color_utils::AlphaBlend(
« no previous file with comments | « chrome/browser/ui/views/frame/opaque_browser_frame_view.cc ('k') | chrome/browser/ui/views/tabs/tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698