Index: chromecast/graphics/cast_window_manager_aura.cc |
diff --git a/chromecast/graphics/cast_window_manager_aura.cc b/chromecast/graphics/cast_window_manager_aura.cc |
index 4fe2008504daaf8187544fe08cd9bb781f6900cf..e60c9a0c4867117faf31c4f038231c90c7d2ca1c 100644 |
--- a/chromecast/graphics/cast_window_manager_aura.cc |
+++ b/chromecast/graphics/cast_window_manager_aura.cc |
@@ -211,10 +211,6 @@ void CastWindowManagerAura::Setup() { |
capture_client_.reset( |
new aura::client::DefaultCaptureClient(window_tree_host_->window())); |
- CastVSyncSettings::GetInstance()->AddObserver(this); |
- window_tree_host_->compositor()->SetAuthoritativeVSyncInterval( |
- CastVSyncSettings::GetInstance()->GetVSyncInterval()); |
- |
window_tree_host_->Show(); |
} |
@@ -222,7 +218,6 @@ void CastWindowManagerAura::TearDown() { |
if (!window_tree_host_) { |
return; |
} |
- CastVSyncSettings::GetInstance()->RemoveObserver(this); |
capture_client_.reset(); |
aura::client::SetWindowParentingClient(window_tree_host_->window(), nullptr); |
aura::client::SetActivationClient(window_tree_host_->window(), nullptr); |
@@ -258,9 +253,4 @@ void CastWindowManagerAura::AddWindow(gfx::NativeView child) { |
} |
} |
-void CastWindowManagerAura::OnVSyncIntervalChanged(base::TimeDelta interval) { |
- DCHECK(window_tree_host_.get()); |
- window_tree_host_->compositor()->SetAuthoritativeVSyncInterval(interval); |
-} |
- |
} // namespace chromecast |