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

Unified Diff: ppapi/proxy/flash_resource.cc

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes 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 | « ppapi/proxy/flash_resource.h ('k') | ppapi/proxy/flash_resource_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/flash_resource.cc
diff --git a/ppapi/proxy/flash_resource.cc b/ppapi/proxy/flash_resource.cc
index 26a80ae8222889dc0c873fb53198c333472170c0..d8ec440a5662c2d182965081262061afcb786cbf 100644
--- a/ppapi/proxy/flash_resource.cc
+++ b/ppapi/proxy/flash_resource.cc
@@ -4,12 +4,15 @@
#include "ppapi/proxy/flash_resource.h"
+#include <stddef.h>
+
#include <cmath>
#include "base/containers/mru_cache.h"
#include "base/debug/crash_logging.h"
#include "base/lazy_instance.h"
#include "base/time/time.h"
+#include "build/build_config.h"
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/private/ppb_flash.h"
#include "ppapi/c/trusted/ppb_browser_font_trusted.h"
@@ -118,7 +121,7 @@ double FlashResource::GetLocalTimeZoneOffset(PP_Instance instance,
// Note that TimeTicks does not continue counting across sleep/resume on all
// platforms. This may be acceptable for 10 seconds, but if in the future this
// is changed to one minute or more, then we should consider using base::Time.
- const int64 kMaxCachedLocalOffsetAgeInSeconds = 10;
+ const int64_t kMaxCachedLocalOffsetAgeInSeconds = 10;
base::TimeDelta expiration_delta =
base::TimeDelta::FromSeconds(kMaxCachedLocalOffsetAgeInSeconds);
« no previous file with comments | « ppapi/proxy/flash_resource.h ('k') | ppapi/proxy/flash_resource_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698