Index: views/view_unittest.cc |
diff --git a/views/view_unittest.cc b/views/view_unittest.cc |
index 0309ada5a0d6d772cb57db78ef170de72afb97f5..4b3fcfe5390f6fa9a56d7e4d2b48df77ccfe856a 100644 |
--- a/views/view_unittest.cc |
+++ b/views/view_unittest.cc |
@@ -2398,7 +2398,7 @@ class ViewLayerTest : public ViewsTestBase { |
TestTexture::reset_live_count(); |
- Widget::set_compositor_factory(&TestCreateCompositor); |
+ Widget::set_compositor_factory_for_testing(&TestCreateCompositor); |
widget_ = new Widget; |
Widget::InitParams params(Widget::InitParams::TYPE_POPUP); |
params.bounds = gfx::Rect(50, 50, 200, 200); |
@@ -2408,7 +2408,7 @@ class ViewLayerTest : public ViewsTestBase { |
virtual void TearDown() OVERRIDE { |
View::set_use_acceleration_when_possible(old_use_acceleration_); |
widget_->CloseNow(); |
- Widget::set_compositor_factory(NULL); |
+ Widget::set_compositor_factory_for_testing(NULL); |
Widget::SetPureViews(false); |
} |