From 75542c0bbc5c600a76ebdf2cff43695632eb6e7c Mon Sep 17 00:00:00 2001 From: James Clarke Date: Sun, 28 Feb 2021 17:31:15 -0800 Subject: [PATCH] Fix UWP build for UpdateCursorRect rename --- shell/platform/windows/flutter_window_winuwp.cc | 2 +- shell/platform/windows/flutter_window_winuwp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/platform/windows/flutter_window_winuwp.cc b/shell/platform/windows/flutter_window_winuwp.cc index fc3478c43bf81..2c7cb534dfb44 100644 --- a/shell/platform/windows/flutter_window_winuwp.cc +++ b/shell/platform/windows/flutter_window_winuwp.cc @@ -68,7 +68,7 @@ void FlutterWindowWinUWP::UpdateFlutterCursor(const std::string& cursor_name) { // https://github.com/flutter/flutter/issues/70199 } -void FlutterWindowWinUWP::UpdateCursorRect(const Rect& rect) { +void FlutterWindowWinUWP::OnCursorRectUpdated(const Rect& rect) { // TODO(cbracken): Implement IMM candidate window positioning. } diff --git a/shell/platform/windows/flutter_window_winuwp.h b/shell/platform/windows/flutter_window_winuwp.h index bc7218de6d3a4..5fc9df821f960 100644 --- a/shell/platform/windows/flutter_window_winuwp.h +++ b/shell/platform/windows/flutter_window_winuwp.h @@ -50,7 +50,7 @@ class FlutterWindowWinUWP : public WindowBindingHandler { void UpdateFlutterCursor(const std::string& cursor_name) override; // |WindowBindingHandler| - void UpdateCursorRect(const Rect& rect) override; + void OnCursorRectUpdated(const Rect& rect) override; // |WindowBindingHandler| void OnWindowResized() override;