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

Unified Diff: content/common/cc_messages_unittest.cc

Issue 11617006: Add some bounds for gfx ipc deserialization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | « no previous file | content/public/common/common_param_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/cc_messages_unittest.cc
===================================================================
--- content/common/cc_messages_unittest.cc (revision 175167)
+++ content/common/cc_messages_unittest.cc (working copy)
@@ -467,13 +467,13 @@
TransferableResource arbitrary_resource1;
arbitrary_resource1.id = 2178312;
arbitrary_resource1.format = 7;
- arbitrary_resource1.size = gfx::Size(37189, 123123);
+ arbitrary_resource1.size = gfx::Size(3718, 12312);
danakj 2013/01/08 04:06:06 These don't seem needed then, now.
jschuh 2013/01/08 04:12:50 Good point.
arbitrary_resource1.mailbox.setName(arbitrary_mailbox1);
TransferableResource arbitrary_resource2;
arbitrary_resource2.id = 789132;
arbitrary_resource2.format = 30;
- arbitrary_resource2.size = gfx::Size(89123, 23789);
+ arbitrary_resource2.size = gfx::Size(8912, 23789);
arbitrary_resource2.mailbox.setName(arbitrary_mailbox2);
DelegatedFrameData frame_in;
« no previous file with comments | « no previous file | content/public/common/common_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698