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

Unified Diff: cc/test/layer_tree_pixel_test.cc

Issue 171363008: cc: Make cc_unittests opt into real GL NullDraw contexts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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: cc/test/layer_tree_pixel_test.cc
diff --git a/cc/test/layer_tree_pixel_test.cc b/cc/test/layer_tree_pixel_test.cc
index 7ae11c35d2e87ff532f63038898ed3accc2fd748..9744ce45b8211e0e6883786dabe2f30011dbf902 100644
--- a/cc/test/layer_tree_pixel_test.cc
+++ b/cc/test/layer_tree_pixel_test.cc
@@ -27,7 +27,8 @@ using gpu::gles2::GLES2Interface;
namespace cc {
LayerTreePixelTest::LayerTreePixelTest()
- : pixel_comparator_(new ExactPixelComparator(true)),
+ : enable_pixel_output_(new gfx::DisableNullDrawGLBindings),
+ pixel_comparator_(new ExactPixelComparator(true)),
test_type_(GL_WITH_DEFAULT),
pending_texture_mailbox_callbacks_(0),
impl_side_painting_(true) {}

Powered by Google App Engine
This is Rietveld 408576698