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

Unified Diff: cc/test/layer_tree_pixel_test.h

Issue 171363008: cc: Make cc_unittests opt into real GL NullDraw contexts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nulldraw-cc: reviewed 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
« no previous file with comments | « cc/test/cc_test_suite.cc ('k') | cc/test/pixel_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_pixel_test.h
diff --git a/cc/test/layer_tree_pixel_test.h b/cc/test/layer_tree_pixel_test.h
index 426cd023bc669899feea17d5abf88b76e5b63755..16873e59e2ddffd5efe9c6734e8a5de594319899 100644
--- a/cc/test/layer_tree_pixel_test.h
+++ b/cc/test/layer_tree_pixel_test.h
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#ifndef CC_TEST_LAYER_TREE_PIXEL_TEST_H_
+#define CC_TEST_LAYER_TREE_PIXEL_TEST_H_
+
#include <vector>
#include "base/files/file_path.h"
@@ -9,9 +12,7 @@
#include "base/memory/scoped_ptr.h"
#include "cc/resources/single_release_callback.h"
#include "cc/test/layer_tree_test.h"
-
-#ifndef CC_TEST_LAYER_TREE_PIXEL_TEST_H_
-#define CC_TEST_LAYER_TREE_PIXEL_TEST_H_
+#include "ui/gl/gl_implementation.h"
class SkBitmap;
@@ -95,6 +96,7 @@ class LayerTreePixelTest : public LayerTreeTest {
kCSSGreen = 0xff008000,
};
+ gfx::DisableNullDrawGLBindings enable_pixel_output_;
scoped_ptr<PixelComparator> pixel_comparator_;
PixelTestType test_type_;
scoped_refptr<Layer> content_root_;
« no previous file with comments | « cc/test/cc_test_suite.cc ('k') | cc/test/pixel_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698