| Index: services/ui/ws/platform_display.cc
|
| diff --git a/services/ui/ws/platform_display.cc b/services/ui/ws/platform_display.cc
|
| index 7b0fedb3a279fc6526f05f13e2411b95a7eec0e1..3073cba44cf834ccaf216713039dcbcf8eec5775 100644
|
| --- a/services/ui/ws/platform_display.cc
|
| +++ b/services/ui/ws/platform_display.cc
|
| @@ -101,18 +101,6 @@ DefaultPlatformDisplay::~DefaultPlatformDisplay() {
|
| platform_window_.reset();
|
| }
|
|
|
| -void DefaultPlatformDisplay::SchedulePaint(const ServerWindow* window,
|
| - const gfx::Rect& bounds) {
|
| - DCHECK(window);
|
| - if (!window->IsDrawn())
|
| - return;
|
| - const gfx::Rect root_relative_rect =
|
| - ConvertRectBetweenWindows(window, delegate_->GetRootWindow(), bounds);
|
| - if (root_relative_rect.IsEmpty())
|
| - return;
|
| - frame_generator_->RequestRedraw(root_relative_rect);
|
| -}
|
| -
|
| void DefaultPlatformDisplay::SetViewportSize(const gfx::Size& size) {
|
| platform_window_->SetBounds(gfx::Rect(size));
|
| }
|
| @@ -155,10 +143,6 @@ void DefaultPlatformDisplay::SetImeVisibility(bool visible) {
|
| ime->SetImeVisibility(visible);
|
| }
|
|
|
| -bool DefaultPlatformDisplay::IsFramePending() const {
|
| - return frame_generator_->is_frame_pending();
|
| -}
|
| -
|
| gfx::Rect DefaultPlatformDisplay::GetBounds() const {
|
| return metrics_.bounds;
|
| }
|
| @@ -209,7 +193,6 @@ void DefaultPlatformDisplay::OnBoundsChanged(const gfx::Rect& new_bounds) {
|
| }
|
|
|
| void DefaultPlatformDisplay::OnDamageRect(const gfx::Rect& damaged_region) {
|
| - frame_generator_->RequestRedraw(damaged_region);
|
| }
|
|
|
| void DefaultPlatformDisplay::DispatchEvent(ui::Event* event) {
|
|
|