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

Unified Diff: cc/base/time_util.h

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years 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 | « cc/base/tiling_data_unittest.cc ('k') | cc/base/unique_notifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/time_util.h
diff --git a/cc/base/time_util.h b/cc/base/time_util.h
index 06682c27e2fc1efd08142e65d6b4545eea937961..d124f94d90d4faa2e143eaa37364f906265794ba 100644
--- a/cc/base/time_util.h
+++ b/cc/base/time_util.h
@@ -14,7 +14,7 @@ namespace cc {
class CC_EXPORT TimeUtil {
public:
static base::TimeDelta Scale(base::TimeDelta time_delta, double value) {
- return base::TimeDelta::FromInternalValue(static_cast<int64>(
+ return base::TimeDelta::FromInternalValue(static_cast<int64_t>(
static_cast<double>(time_delta.ToInternalValue()) * value));
}
« no previous file with comments | « cc/base/tiling_data_unittest.cc ('k') | cc/base/unique_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698