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

Unified Diff: ui/base/range/range_win.cc

Issue 11889017: some fixes and warning disables in ui/ for building on win x64 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove stupid code Created 7 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/base/range/range.h ('k') | ui/base/win/dpi.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/range/range_win.cc
diff --git a/ui/base/range/range_win.cc b/ui/base/range/range_win.cc
index 0a349580a4263fa0ac121bdcc2acdbfa12a3eacc..29178b347c30e5c24f9fa09a1fb898125fbb54d4 100644
--- a/ui/base/range/range_win.cc
+++ b/ui/base/range/range_win.cc
@@ -35,10 +35,10 @@ CHARRANGE Range::ToCHARRANGE() const {
return r;
const LONG kLONGMax = std::numeric_limits<LONG>::max();
- DCHECK_LE(static_cast<LONG>(start()), kLONGMax);
- DCHECK_LE(static_cast<LONG>(end()), kLONGMax);
- r.cpMin = start();
- r.cpMax = end();
+ CHECK_LE(static_cast<LONG>(start()), kLONGMax);
+ CHECK_LE(static_cast<LONG>(end()), kLONGMax);
+ r.cpMin = static_cast<LONG>(start());
+ r.cpMax = static_cast<LONG>(end());
return r;
}
« no previous file with comments | « ui/base/range/range.h ('k') | ui/base/win/dpi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698