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

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

Issue 1778473002: MacViews: Fix failing bubble border tests after r375729. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/bubble_border_unittest.cc
diff --git a/ui/views/bubble/bubble_border_unittest.cc b/ui/views/bubble/bubble_border_unittest.cc
index e472e1b4fbf40241d7e2da9c86618a84b530a91e..19f6968fba5b2dc47bf3f9e79af0ccbde618b3a9 100644
--- a/ui/views/bubble/bubble_border_unittest.cc
+++ b/ui/views/bubble/bubble_border_unittest.cc
@@ -224,7 +224,7 @@ TEST_F(BubbleBorderTest, GetSizeForContentsSizeTest) {
const gfx::Size kMediumSize = gfx::Size(50, 60);
const gfx::Size kSmallHorizArrow(
- 2 * kImages->border_thickness + kImages->top_arrow.width(),
+ 2 * kImages->border_thickness + kImages->arrow_width,
kImages->border_thickness + kImages->arrow_thickness +
kImages->border_interior_thickness);
@@ -345,7 +345,7 @@ TEST_F(BubbleBorderTest, GetBoundsOriginTest) {
const int kArrowOffsetForHorizCenter = kTotalSizeWithHorizArrow.width() / 2;
const int kArrowOffsetForVertCenter = kTotalSizeWithVertArrow.height() / 2;
const int kArrowOffsetForNotCenter =
- kImages->border_thickness + (kImages->top_arrow.width() / 2);
+ kImages->border_thickness + (kImages->arrow_width / 2);
const int kArrowSize =
kImages->arrow_interior_thickness + BubbleBorder::kStroke -
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698