Index: services/ui/ws/platform_display_default.cc |
diff --git a/services/ui/ws/platform_display_default.cc b/services/ui/ws/platform_display_default.cc |
index 43fed49ee090ad7ddb617469dd9123fafc337aa7..a126d699c0df820a8eb3ad71a2dd2ebf75ed8794 100644 |
--- a/services/ui/ws/platform_display_default.cc |
+++ b/services/ui/ws/platform_display_default.cc |
@@ -257,7 +257,7 @@ void PlatformDisplayDefault::OnAcceleratedWidgetAvailable( |
std::move(display_private), |
std::move(compositor_frame_sink_client_request)); |
frame_generator_ = base::MakeUnique<FrameGenerator>( |
- this, root_window_, std::move(display_client_compositor_frame_sink)); |
+ root_window_, std::move(display_client_compositor_frame_sink)); |
frame_generator_->SetDeviceScaleFactor(init_device_scale_factor_); |
} |
@@ -267,9 +267,5 @@ void PlatformDisplayDefault::OnAcceleratedWidgetDestroyed() { |
void PlatformDisplayDefault::OnActivationChanged(bool active) {} |
-bool PlatformDisplayDefault::IsInHighContrastMode() { |
- return delegate_ ? delegate_->IsInHighContrastMode() : false; |
-} |
- |
} // namespace ws |
} // namespace ui |