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

Unified Diff: cc/resources/shared_bitmap.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/scoped_ui_resource.cc ('k') | cc/resources/shared_bitmap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/shared_bitmap.h
diff --git a/cc/resources/shared_bitmap.h b/cc/resources/shared_bitmap.h
index 04dab7456fa92910dcbfa359ada39459b715ae18..c711a8b5ea47d470abc5f42eabe4d119b64ecae8 100644
--- a/cc/resources/shared_bitmap.h
+++ b/cc/resources/shared_bitmap.h
@@ -5,7 +5,10 @@
#ifndef CC_RESOURCES_SHARED_BITMAP_H_
#define CC_RESOURCES_SHARED_BITMAP_H_
-#include "base/basictypes.h"
+#include <stddef.h>
+#include <stdint.h>
+
+#include "base/macros.h"
#include "base/trace_event/memory_allocator_dump.h"
#include "cc/base/cc_export.h"
#include "gpu/command_buffer/common/mailbox.h"
@@ -19,11 +22,11 @@ GetSharedBitmapGUIDForTracing(const SharedBitmapId& bitmap_id);
class CC_EXPORT SharedBitmap {
public:
- SharedBitmap(uint8* pixels, const SharedBitmapId& id);
+ SharedBitmap(uint8_t* pixels, const SharedBitmapId& id);
virtual ~SharedBitmap();
- uint8* pixels() { return pixels_; }
+ uint8_t* pixels() { return pixels_; }
const SharedBitmapId& id() { return id_; }
@@ -41,7 +44,7 @@ class CC_EXPORT SharedBitmap {
static SharedBitmapId GenerateId();
private:
- uint8* pixels_;
+ uint8_t* pixels_;
SharedBitmapId id_;
DISALLOW_COPY_AND_ASSIGN(SharedBitmap);
« no previous file with comments | « cc/resources/scoped_ui_resource.cc ('k') | cc/resources/shared_bitmap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698