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

Unified Diff: gpu/command_buffer/common/mailbox.h

Issue 268063002: Remove command_buffer/common/types.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 8 months 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: gpu/command_buffer/common/mailbox.h
diff --git a/gpu/command_buffer/common/mailbox.h b/gpu/command_buffer/common/mailbox.h
index 06b4b591da1cbd8a53685247161bda77fd01074c..a45c91f279b19f83ce5a73310198a43ecb1f4f75 100644
--- a/gpu/command_buffer/common/mailbox.h
+++ b/gpu/command_buffer/common/mailbox.h
@@ -5,9 +5,9 @@
#ifndef GPU_COMMAND_BUFFER_MAILBOX_H_
#define GPU_COMMAND_BUFFER_MAILBOX_H_
+#include <stdint.h>
#include <string.h>
-#include "gpu/command_buffer/common/types.h"
#include "gpu/gpu_export.h"
// From gl2/gl2ext.h.
@@ -21,7 +21,7 @@ struct GPU_EXPORT Mailbox {
Mailbox();
bool IsZero() const;
void SetZero();
- void SetName(const int8* name);
+ void SetName(const int8_t* name);
// Generate a unique unguessable mailbox name.
static Mailbox Generate();
@@ -31,7 +31,7 @@ struct GPU_EXPORT Mailbox {
// check, only to catch bugs where clients forgot to call Mailbox::Generate.
bool Verify() const;
- int8 name[GL_MAILBOX_SIZE_CHROMIUM];
+ int8_t name[GL_MAILBOX_SIZE_CHROMIUM];
bool operator<(const Mailbox& other) const {
return memcmp(this, &other, sizeof other) < 0;
}

Powered by Google App Engine
This is Rietveld 408576698