| Index: content/common/gpu/media/rendering_helper.cc
|
| diff --git a/content/common/gpu/media/rendering_helper.cc b/content/common/gpu/media/rendering_helper.cc
|
| index 3ceea1fa6f9585178c9acda5e13d8f0f4c09ce2f..f2706f795850647f63666f55364f797fd5e0c6a9 100644
|
| --- a/content/common/gpu/media/rendering_helper.cc
|
| +++ b/content/common/gpu/media/rendering_helper.cc
|
| @@ -245,7 +245,7 @@ void RenderingHelper::Setup() {
|
| // the same size.
|
| base::RunLoop wait_display_setup;
|
| DisplayConfiguratorObserver display_setup_observer(&wait_display_setup);
|
| - display_configurator_.reset(new ui::DisplayConfigurator());
|
| + display_configurator_ = DisplayConfigurator::GetInstance();
|
| display_configurator_->AddObserver(&display_setup_observer);
|
| display_configurator_->Init(true);
|
| display_configurator_->ForceInitialConfigure(0);
|
| @@ -287,7 +287,6 @@ void RenderingHelper::TearDown() {
|
| platform_window_delegate_.reset();
|
| #if defined(OS_CHROMEOS)
|
| display_configurator_->PrepareForExit();
|
| - display_configurator_.reset();
|
| #endif
|
| #endif
|
| window_ = gfx::kNullAcceleratedWidget;
|
|
|