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

Unified Diff: ui/gfx/size_conversions.cc

Issue 11093031: Add gfx::ToRoundedInt safe conversion method from float to int. (Closed) Base URL: http://git.chromium.org/chromium/src.git@gfx-scale
Patch Set: Created 8 years, 2 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/gfx/safe_integer_conversions_unittest.cc ('k') | ui/ui.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/size_conversions.cc
diff --git a/ui/gfx/size_conversions.cc b/ui/gfx/size_conversions.cc
index 9668aaa938e8ddf548745887be57b69548a1a01c..7fb3d2408b30b388d2034357f0028021006ab741 100644
--- a/ui/gfx/size_conversions.cc
+++ b/ui/gfx/size_conversions.cc
@@ -4,7 +4,7 @@
#include "ui/gfx/size_conversions.h"
-#include "ui/gfx/safe_floor_ceil.h"
+#include "ui/gfx/safe_integer_conversions.h"
namespace gfx {
« no previous file with comments | « ui/gfx/safe_integer_conversions_unittest.cc ('k') | ui/ui.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698