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

Unified Diff: content/common/cc_messages.cc

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: content/common/cc_messages.cc
diff --git a/content/common/cc_messages.cc b/content/common/cc_messages.cc
index e3988def816d8049cfdee396f1201017de324c13..57871ac62e1e6166d767fe0efa4e4cd52deb77ba 100644
--- a/content/common/cc_messages.cc
+++ b/content/common/cc_messages.cc
@@ -402,7 +402,7 @@ static cc::DrawQuad* ReadDrawQuad(const Message* m,
bool ParamTraits<cc::RenderPass>::Read(const Message* m,
base::PickleIterator* iter,
param_type* p) {
- cc::RenderPassId id(-1, -1);
+ cc::RenderPassId id;
gfx::Rect output_rect;
gfx::Rect damage_rect;
gfx::Transform transform_to_root_target;

Powered by Google App Engine
This is Rietveld 408576698