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

Unified Diff: ui/views/window/dialog_client_view_unittest.cc

Issue 2595163002: Add origin() method on View and use it to simplify some callers. (Closed)
Patch Set: Resync Created 3 years, 11 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 | « ui/views/view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/dialog_client_view_unittest.cc
diff --git a/ui/views/window/dialog_client_view_unittest.cc b/ui/views/window/dialog_client_view_unittest.cc
index dfe45b562370dae7cf8f7a9d8dd89f83857c7647..e1f28b4dc35bf06d7129836c5d004f2e59000ffb 100644
--- a/ui/views/window/dialog_client_view_unittest.cc
+++ b/ui/views/window/dialog_client_view_unittest.cc
@@ -83,7 +83,7 @@ class DialogClientViewTest : public ViewsTestBase,
const gfx::Size preferred_size = this->GetPreferredSize();
EXPECT_EQ(preferred_size.height(), this->bounds().height());
EXPECT_LE(preferred_size.width(), this->bounds().width());
- EXPECT_EQ(this->bounds().origin(), client_bounds.origin());
+ EXPECT_EQ(this->origin(), client_bounds.origin());
EXPECT_EQ(this->bounds().right(), client_bounds.right());
}
« no previous file with comments | « ui/views/view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698