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

Unified Diff: content/browser/compositor/owned_mailbox.h

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
Index: content/browser/compositor/owned_mailbox.h
diff --git a/content/browser/compositor/owned_mailbox.h b/content/browser/compositor/owned_mailbox.h
index 07aac97bf313cf2d245f536f4650b681931d441a..796e02edf9162e7d74019b3c7d83decc05688113 100644
--- a/content/browser/compositor/owned_mailbox.h
+++ b/content/browser/compositor/owned_mailbox.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_BROWSER_COMPOSITOR_OWNED_MAILBOX_H_
#define CONTENT_BROWSER_COMPOSITOR_OWNED_MAILBOX_H_
+#include <stdint.h>
+
#include "base/memory/ref_counted.h"
#include "content/browser/compositor/image_transport_factory.h"
#include "content/common/content_export.h"
@@ -27,8 +29,8 @@ class CONTENT_EXPORT OwnedMailbox : public base::RefCounted<OwnedMailbox>,
const gpu::SyncToken& sync_token() const {
return mailbox_holder_.sync_token;
}
- uint32 texture_id() const { return texture_id_; }
- uint32 target() const { return mailbox_holder_.texture_target; }
+ uint32_t texture_id() const { return texture_id_; }
+ uint32_t target() const { return mailbox_holder_.texture_target; }
void UpdateSyncToken(const gpu::SyncToken& sync_token);
void Destroy();
@@ -41,7 +43,7 @@ class CONTENT_EXPORT OwnedMailbox : public base::RefCounted<OwnedMailbox>,
private:
friend class base::RefCounted<OwnedMailbox>;
- uint32 texture_id_;
+ uint32_t texture_id_;
gpu::MailboxHolder mailbox_holder_;
GLHelper* gl_helper_;
};

Powered by Google App Engine
This is Rietveld 408576698