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

Unified Diff: ui/gl/sync_control_vsync_provider.h

Issue 1545113002: Switch to standard integer types in ui/gl/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « ui/gl/scoped_make_current.h ('k') | ui/gl/sync_control_vsync_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/sync_control_vsync_provider.h
diff --git a/ui/gl/sync_control_vsync_provider.h b/ui/gl/sync_control_vsync_provider.h
index 302980d3df8a882de8b12d84cc9ce90e149101c2..8314ed2433ec0245b5f079618e53184b51259524 100644
--- a/ui/gl/sync_control_vsync_provider.h
+++ b/ui/gl/sync_control_vsync_provider.h
@@ -5,8 +5,11 @@
#ifndef UI_GL_SYNC_CONTROL_VSYNC_PROVIDER_H_
#define UI_GL_SYNC_CONTROL_VSYNC_PROVIDER_H_
+#include <stdint.h>
+
#include <queue>
+#include "base/macros.h"
#include "ui/gfx/vsync_provider.h"
namespace gfx {
@@ -21,15 +24,15 @@ class SyncControlVSyncProvider : public VSyncProvider {
void GetVSyncParameters(const UpdateVSyncCallback& callback) override;
protected:
- virtual bool GetSyncValues(int64* system_time,
- int64* media_stream_counter,
- int64* swap_buffer_counter) = 0;
+ virtual bool GetSyncValues(int64_t* system_time,
+ int64_t* media_stream_counter,
+ int64_t* swap_buffer_counter) = 0;
- virtual bool GetMscRate(int32* numerator, int32* denominator) = 0;
+ virtual bool GetMscRate(int32_t* numerator, int32_t* denominator) = 0;
private:
base::TimeTicks last_timebase_;
- uint64 last_media_stream_counter_;
+ uint64_t last_media_stream_counter_;
base::TimeDelta last_good_interval_;
bool invalid_msc_;
« no previous file with comments | « ui/gl/scoped_make_current.h ('k') | ui/gl/sync_control_vsync_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698