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

Unified Diff: cc/resources/texture_mailbox.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/resources/shared_bitmap_manager.h ('k') | cc/resources/texture_mailbox.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/texture_mailbox.h
diff --git a/cc/resources/texture_mailbox.h b/cc/resources/texture_mailbox.h
index 01cc660c0b96e031ef83d2ea29da2b89f9ef1d4c..42109c686de4b816d9cf42f3efb3513e03d018e7 100644
--- a/cc/resources/texture_mailbox.h
+++ b/cc/resources/texture_mailbox.h
@@ -5,6 +5,9 @@
#ifndef CC_RESOURCES_TEXTURE_MAILBOX_H_
#define CC_RESOURCES_TEXTURE_MAILBOX_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <string>
#include "base/memory/shared_memory.h"
@@ -23,10 +26,10 @@ class CC_EXPORT TextureMailbox {
explicit TextureMailbox(const gpu::MailboxHolder& mailbox_holder);
TextureMailbox(const gpu::Mailbox& mailbox,
const gpu::SyncToken& sync_token,
- uint32 target);
+ uint32_t target);
TextureMailbox(const gpu::Mailbox& mailbox,
const gpu::SyncToken& sync_token,
- uint32 target,
+ uint32_t target,
const gfx::Size& size_in_pixels,
bool is_overlay_candidate);
TextureMailbox(SharedBitmap* shared_bitmap, const gfx::Size& size_in_pixels);
@@ -40,8 +43,8 @@ class CC_EXPORT TextureMailbox {
bool Equals(const TextureMailbox&) const;
const gpu::Mailbox& mailbox() const { return mailbox_holder_.mailbox; }
- const int8* name() const { return mailbox().name; }
- uint32 target() const { return mailbox_holder_.texture_target; }
+ const int8_t* name() const { return mailbox().name; }
+ uint32_t target() const { return mailbox_holder_.texture_target; }
const gpu::SyncToken& sync_token() const {
return mailbox_holder_.sync_token;
}
« no previous file with comments | « cc/resources/shared_bitmap_manager.h ('k') | cc/resources/texture_mailbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698