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

Unified Diff: cc/surfaces/surface_aggregator_test_helpers.h

Issue 1158433010: Reland: 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: mojo update 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
Index: cc/surfaces/surface_aggregator_test_helpers.h
diff --git a/cc/surfaces/surface_aggregator_test_helpers.h b/cc/surfaces/surface_aggregator_test_helpers.h
index 05c83440616d742cca052ec970aee1c6bcd2cb38..6d00c4f70f6175d552600d1f7f79792e414d3821 100644
--- a/cc/surfaces/surface_aggregator_test_helpers.h
+++ b/cc/surfaces/surface_aggregator_test_helpers.h
@@ -55,11 +55,7 @@ struct Quad {
RenderPassId render_pass_id;
private:
- Quad()
- : material(DrawQuad::INVALID),
- opacity(1.f),
- color(SK_ColorWHITE),
- render_pass_id(-1, -1) {}
+ Quad() : material(DrawQuad::INVALID), opacity(1.f), color(SK_ColorWHITE) {}
};
struct Pass {

Powered by Google App Engine
This is Rietveld 408576698