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

Unified Diff: cc/surfaces/surface_aggregator_test_helpers.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_id.cc ('k') | content/common/cc_messages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6d00c4f70f6175d552600d1f7f79792e414d3821..05c83440616d742cca052ec970aee1c6bcd2cb38 100644
--- a/cc/surfaces/surface_aggregator_test_helpers.h
+++ b/cc/surfaces/surface_aggregator_test_helpers.h
@@ -55,7 +55,11 @@
RenderPassId render_pass_id;
private:
- Quad() : material(DrawQuad::INVALID), opacity(1.f), color(SK_ColorWHITE) {}
+ Quad()
+ : material(DrawQuad::INVALID),
+ opacity(1.f),
+ color(SK_ColorWHITE),
+ render_pass_id(-1, -1) {}
};
struct Pass {
« no previous file with comments | « cc/quads/render_pass_id.cc ('k') | content/common/cc_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698