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

Unified Diff: ui/views/bubble/bubble_border.cc

Issue 10834140: aura: Fix launcher tooltips: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 years, 4 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: ui/views/bubble/bubble_border.cc
diff --git a/ui/views/bubble/bubble_border.cc b/ui/views/bubble/bubble_border.cc
index a82382c8eb47c50e86d12f6aba20835dbc9a03ba..819b2eae414cae93fd3ee80d1c1adb234ed2e175 100644
--- a/ui/views/bubble/bubble_border.cc
+++ b/ui/views/bubble/bubble_border.cc
@@ -212,7 +212,7 @@ void BubbleBorder::GetInsetsForArrowLocation(gfx::Insets* insets,
insets->Set(top, left, bottom, right);
}
-int BubbleBorder::border_thickness() const {
+int BubbleBorder::BorderThickness() const {
return images_->border_thickness;
}
@@ -505,7 +505,7 @@ void BubbleBackground::Paint(gfx::Canvas* canvas, views::View* view) const {
paint.setColor(border_->background_color());
SkPath path;
gfx::Rect bounds(view->GetContentsBounds());
- bounds.Inset(-border_->border_thickness(), -border_->border_thickness());
+ bounds.Inset(-border_->BorderThickness(), -border_->BorderThickness());
SkScalar radius = SkIntToScalar(BubbleBorder::GetCornerRadius());
path.addRoundRect(gfx::RectToSkRect(bounds), radius, radius);
canvas->DrawPath(path, paint);

Powered by Google App Engine
This is Rietveld 408576698