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; |