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

Unified Diff: cc/test/layer_tree_pixel_test.cc

Issue 670183003: Update from chromium 62675d9fb31fb8cedc40f68e78e8445a74f362e7 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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/layer_tree_pixel_test.h ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2f293f7858857978c092be1cb84082972ef67219..31d30a4b676ffa627c501a922a00f0d735234818 100644
--- a/cc/test/layer_tree_pixel_test.cc
+++ b/cc/test/layer_tree_pixel_test.cc
@@ -28,9 +28,10 @@ namespace cc {
LayerTreePixelTest::LayerTreePixelTest()
: pixel_comparator_(new ExactPixelComparator(true)),
- test_type_(GL_WITH_DEFAULT),
+ test_type_(PIXEL_TEST_GL),
pending_texture_mailbox_callbacks_(0),
- impl_side_painting_(true) {}
+ impl_side_painting_(true) {
+}
LayerTreePixelTest::~LayerTreePixelTest() {}
@@ -40,8 +41,7 @@ scoped_ptr<OutputSurface> LayerTreePixelTest::CreateOutputSurface(
scoped_ptr<PixelTestOutputSurface> output_surface;
switch (test_type_) {
- case SOFTWARE_WITH_DEFAULT:
- case SOFTWARE_WITH_BITMAP: {
+ case PIXEL_TEST_SOFTWARE: {
scoped_ptr<PixelTestSoftwareOutputDevice> software_output_device(
new PixelTestSoftwareOutputDevice);
software_output_device->set_surface_expansion_size(
@@ -50,9 +50,7 @@ scoped_ptr<OutputSurface> LayerTreePixelTest::CreateOutputSurface(
new PixelTestOutputSurface(software_output_device.Pass()));
break;
}
-
- case GL_WITH_DEFAULT:
- case GL_WITH_BITMAP: {
+ case PIXEL_TEST_GL: {
output_surface = make_scoped_ptr(
new PixelTestOutputSurface(new TestInProcessContextProvider));
break;
« no previous file with comments | « cc/test/layer_tree_pixel_test.h ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698