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

Unified Diff: cc/quads/render_pass_id.h

Issue 1155553006: Revert of cc: Fix size_t to int truncations in layers/ output/ playback/ quads/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months 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/quads/render_pass_draw_quad.cc ('k') | cc/quads/render_pass_id.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/render_pass_id.h
diff --git a/cc/quads/render_pass_id.h b/cc/quads/render_pass_id.h
index ebf6387e73c1572a66cd8899a68dee28c2fd6690..05541307a07eaca2b7c2c720255822aa3db3b104 100644
--- a/cc/quads/render_pass_id.h
+++ b/cc/quads/render_pass_id.h
@@ -14,10 +14,9 @@
class CC_EXPORT RenderPassId {
public:
int layer_id;
- size_t index;
+ int index;
- RenderPassId() : layer_id(-1), index(0) {}
- RenderPassId(int layer_id, size_t index) : layer_id(layer_id), index(index) {}
+ RenderPassId(int layer_id, int index) : layer_id(layer_id), index(index) {}
void* AsTracingId() const;
bool operator==(const RenderPassId& other) const {
« no previous file with comments | « cc/quads/render_pass_draw_quad.cc ('k') | cc/quads/render_pass_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698