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

Unified Diff: ui/views/rendering/border_unittest.cc

Issue 6541030: View API/implementation cleanup:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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/layout/fill_layout.cc ('k') | ui/views/view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/rendering/border_unittest.cc
===================================================================
--- ui/views/rendering/border_unittest.cc (revision 75141)
+++ ui/views/rendering/border_unittest.cc (working copy)
@@ -53,7 +53,7 @@
TEST_F(BorderTest, Basic) {
const int kViewSize = 100;
PaintableView v;
- v.SetBounds(10, 10, kViewSize, kViewSize);
+ v.SetBounds(gfx::Rect(10, 10, kViewSize, kViewSize));
// With no border, the content size is the view size.
EXPECT_EQ(gfx::Rect(0, 0, kViewSize, kViewSize), v.GetContentsBounds());
« no previous file with comments | « ui/views/layout/fill_layout.cc ('k') | ui/views/view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698