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

Unified Diff: components/exo/buffer.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (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 | « components/error_page/renderer/net_error_helper_core_unittest.cc ('k') | components/exo/display.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/buffer.cc
diff --git a/components/exo/buffer.cc b/components/exo/buffer.cc
index 87d2fc4d8b660deac89709864282761569d31166..b79ed12060ec79f24cd750885b75fabf3ebadb89 100644
--- a/components/exo/buffer.cc
+++ b/components/exo/buffer.cc
@@ -7,10 +7,12 @@
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include <GLES2/gl2extchromium.h>
+#include <stdint.h>
#include <algorithm>
#include "base/logging.h"
+#include "base/macros.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/trace_event_argument.h"
#include "cc/output/context_provider.h"
@@ -131,7 +133,7 @@ gpu::SyncToken Buffer::Texture::BindTexImage() {
// Create and return a sync token that can be used to ensure that the
// BindTexImage2DCHROMIUM call is processed before issuing any commands
// that will read from the texture on a different context.
- uint64 fence_sync = gles2->InsertFenceSyncCHROMIUM();
+ uint64_t fence_sync = gles2->InsertFenceSyncCHROMIUM();
gles2->OrderingBarrierCHROMIUM();
gpu::SyncToken sync_token;
gles2->GenUnverifiedSyncTokenCHROMIUM(fence_sync, sync_token.GetData());
« no previous file with comments | « components/error_page/renderer/net_error_helper_core_unittest.cc ('k') | components/exo/display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698