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

Unified Diff: gpu/tools/compositor_model_bench/render_model_utils.h

Issue 1542513002: Switch to standard integer types in gpu/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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
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);
« no previous file with comments | « gpu/tools/compositor_model_bench/forward_render_model.cc ('k') | gpu/tools/compositor_model_bench/render_model_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698