Index: gpu/tools/compositor_model_bench/render_model_utils.h |
diff --git a/gpu/tools/compositor_model_bench/render_model_utils.h b/gpu/tools/compositor_model_bench/render_model_utils.h |
index 8d6ed3c45c89cef2bd941090fcaa79a6ba6ea946..916276825c1000447ec31458db0da57c339c594e 100644 |
--- a/gpu/tools/compositor_model_bench/render_model_utils.h |
+++ b/gpu/tools/compositor_model_bench/render_model_utils.h |
@@ -7,6 +7,8 @@ |
#ifndef GPU_TOOLS_COMPOSITOR_MODEL_BENCH_RENDER_MODEL_UTILS_H_ |
#define GPU_TOOLS_COMPOSITOR_MODEL_BENCH_RENDER_MODEL_UTILS_H_ |
+#include <stdint.h> |
+ |
#include <map> |
#include <set> |
#include <vector> |
@@ -21,7 +23,7 @@ |
// texture ID's in the tree, replacing them with the matching new textures. |
class TextureGenerator : public RenderNodeVisitor { |
public: |
- typedef scoped_ptr<uint8[]> ImagePtr; |
+ typedef scoped_ptr<uint8_t[]> ImagePtr; |
typedef std::vector<Tile>::iterator tile_iter; |
explicit TextureGenerator(RenderNode* root); |