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

Unified Diff: cc/quads/draw_quad_unittest.cc

Issue 2229953003: Support for custom primaries (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test updated Created 4 years, 4 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/output/color_lut_cache.cc ('k') | cc/quads/largest_draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/draw_quad_unittest.cc
diff --git a/cc/quads/draw_quad_unittest.cc b/cc/quads/draw_quad_unittest.cc
index 88167330fa98b8e43de2df5cc31e0d8fd2504fe0..8e600ff2165b7a934948ad6ab21e47932aeb7e9a 100644
--- a/cc/quads/draw_quad_unittest.cc
+++ b/cc/quads/draw_quad_unittest.cc
@@ -969,7 +969,8 @@ TEST(DrawQuadTest, LargestQuadType) {
largest = std::max(largest, sizeof(StreamVideoDrawQuad));
break;
case DrawQuad::YUV_VIDEO_CONTENT:
- largest = std::max(largest, sizeof(YUVVideoDrawQuad));
+ largest = std::max(largest,
+ sizeof(YUVVideoDrawQuad) + sizeof(gfx::ColorSpace));
break;
case DrawQuad::INVALID:
break;
« no previous file with comments | « cc/output/color_lut_cache.cc ('k') | cc/quads/largest_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698