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

Unified Diff: cc/test/test_web_graphics_context_3d.cc

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_web_graphics_context_3d.h ('k') | cc/tiles/eviction_tile_priority_queue.h » ('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.cc
diff --git a/cc/test/test_web_graphics_context_3d.cc b/cc/test/test_web_graphics_context_3d.cc
index 72ac8ade5e9b70e10aed1ee642b8c030d55195d4..96b11b4ae12f309e930bdc7604611cfee72794c4 100644
--- a/cc/test/test_web_graphics_context_3d.cc
+++ b/cc/test/test_web_graphics_context_3d.cc
@@ -4,6 +4,9 @@
#include "cc/test/test_web_graphics_context_3d.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <algorithm>
#include <string>
@@ -548,7 +551,7 @@ void TestWebGraphicsContext3D::bufferData(GLenum target,
size_t old_size = buffer->size;
- buffer->pixels.reset(new uint8[size]);
+ buffer->pixels.reset(new uint8_t[size]);
buffer->size = size;
if (data != NULL)
memcpy(buffer->pixels.get(), data, size);
« no previous file with comments | « cc/test/test_web_graphics_context_3d.h ('k') | cc/tiles/eviction_tile_priority_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698