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

Unified Diff: cc/test/test_web_graphics_context_3d.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/test/test_texture.cc ('k') | cc/test/test_web_graphics_context_3d.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_web_graphics_context_3d.h
diff --git a/cc/test/test_web_graphics_context_3d.h b/cc/test/test_web_graphics_context_3d.h
index 4e6d76115ea75deebe1eb08236ed68debac3a8bf..08447f7ce64ce8cfb15667b4097d07233acf4597 100644
--- a/cc/test/test_web_graphics_context_3d.h
+++ b/cc/test/test_web_graphics_context_3d.h
@@ -5,12 +5,16 @@
#ifndef CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
#define CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <vector>
#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/containers/hash_tables.h"
#include "base/containers/scoped_ptr_hash_map.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
@@ -407,7 +411,7 @@ class TestWebGraphicsContext3D {
~Buffer();
GLenum target;
- scoped_ptr<uint8[]> pixels;
+ scoped_ptr<uint8_t[]> pixels;
size_t size;
private:
@@ -418,7 +422,7 @@ class TestWebGraphicsContext3D {
Image();
~Image();
- scoped_ptr<uint8[]> pixels;
+ scoped_ptr<uint8_t[]> pixels;
private:
DISALLOW_COPY_AND_ASSIGN(Image);
« no previous file with comments | « cc/test/test_texture.cc ('k') | cc/test/test_web_graphics_context_3d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698