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

Unified Diff: gpu/command_buffer/client/fenced_allocator.cc

Issue 1542513002: Switch to standard integer types in gpu/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 | « gpu/command_buffer/client/fenced_allocator.h ('k') | gpu/command_buffer/client/fenced_allocator_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/fenced_allocator.cc
diff --git a/gpu/command_buffer/client/fenced_allocator.cc b/gpu/command_buffer/client/fenced_allocator.cc
index 7f34e5879d6207925da158018ef368f44a66ffa4..47450d31542be6d952cb0eccbe227fd40b67e336 100644
--- a/gpu/command_buffer/client/fenced_allocator.cc
+++ b/gpu/command_buffer/client/fenced_allocator.cc
@@ -6,6 +6,8 @@
#include "gpu/command_buffer/client/fenced_allocator.h"
+#include <stdint.h>
+
#include <algorithm>
#include "gpu/command_buffer/client/cmd_buffer_helper.h"
@@ -95,8 +97,8 @@ void FencedAllocator::Free(FencedAllocator::Offset offset) {
}
// Looks for the corresponding block, mark it FREE_PENDING_TOKEN.
-void FencedAllocator::FreePendingToken(
- FencedAllocator::Offset offset, int32 token) {
+void FencedAllocator::FreePendingToken(FencedAllocator::Offset offset,
+ int32_t token) {
BlockIndex index = GetBlockByOffset(offset);
Block &block = blocks_[index];
if (block.state == IN_USE)
« no previous file with comments | « gpu/command_buffer/client/fenced_allocator.h ('k') | gpu/command_buffer/client/fenced_allocator_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698