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

Unified Diff: cc/quads/largest_draw_quad.cc

Issue 2326153002: Revert of Fix kLargestDrawQuadSize (Closed)
Patch Set: Created 4 years, 3 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/draw_quad_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/largest_draw_quad.cc
diff --git a/cc/quads/largest_draw_quad.cc b/cc/quads/largest_draw_quad.cc
index 959f8a917398f32bef31b802a538e36338047687..35c64314c6d87965e331a478f83e3537f3af7487 100644
--- a/cc/quads/largest_draw_quad.cc
+++ b/cc/quads/largest_draw_quad.cc
@@ -19,7 +19,8 @@
#include "cc/quads/yuv_video_draw_quad.h"
namespace {
-const size_t kLargestDrawQuadSize = sizeof(cc::YUVVideoDrawQuad);
+const size_t kLargestDrawQuadSize =
+ sizeof(cc::YUVVideoDrawQuad) + sizeof(gfx::ColorSpace);
} // namespace
namespace cc {
« no previous file with comments | « cc/quads/draw_quad_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698