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

Unified Diff: cc/draw_quad_unittest.cc

Issue 11410024: ui: Remove gfx::Size::ClampToNonNegative, prevent negative sizes always. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no negative sizes Created 8 years, 1 month 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: cc/draw_quad_unittest.cc
diff --git a/cc/draw_quad_unittest.cc b/cc/draw_quad_unittest.cc
index 229cb3345ede281c39debba3c4795001a38b06e2..2a60905a9f7c20d0a5cc00af47c72c91fde85e18 100644
--- a/cc/draw_quad_unittest.cc
+++ b/cc/draw_quad_unittest.cc
@@ -235,7 +235,7 @@ TEST(DrawQuadTest, copyTextureDrawQuad)
{
unsigned resourceId = 82;
bool premultipliedAlpha = true;
- gfx::RectF uvRect(0.5, 224, -51, 36);
+ gfx::RectF uvRect(0.5, 224, 51, 36);
bool flipped = true;
CREATE_SHARED_STATE();
« no previous file with comments | « no previous file | chrome/browser/extensions/api/app_window/app_window_api.cc » ('j') | ui/base/gestures/gesture_sequence.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698