diff --git a/shell/platform/windows/direct_manipulation.cc b/shell/platform/windows/direct_manipulation.cc index 9e3b935839a23..5a6bb463ce00b 100644 --- a/shell/platform/windows/direct_manipulation.cc +++ b/shell/platform/windows/direct_manipulation.cc @@ -117,9 +117,9 @@ DirectManipulationOwner::DirectManipulationOwner(WindowWin32* window) : window_(window) {} int DirectManipulationOwner::Init(unsigned int width, unsigned int height) { - HRESULT hr = CoCreateInstance( - CLSID_DirectManipulationManager, nullptr, CLSCTX_INPROC_SERVER, - IID_IDirectManipulationManager, &manager_); + HRESULT hr = CoCreateInstance(CLSID_DirectManipulationManager, nullptr, + CLSCTX_INPROC_SERVER, + IID_IDirectManipulationManager, &manager_); if (FAILED(hr)) { FML_LOG(ERROR) << "CoCreateInstance(CLSID_DirectManipulationManager) failed"; @@ -137,8 +137,7 @@ int DirectManipulationOwner::Init(unsigned int width, unsigned int height) { } hr = manager_->CreateViewport(nullptr, window_->GetWindowHandle(), - IID_IDirectManipulationViewport, - &viewport_); + IID_IDirectManipulationViewport, &viewport_); if (FAILED(hr)) { FML_LOG(ERROR) << "CreateViewport failed"; manager_ = nullptr; diff --git a/shell/platform/windows/flutter_window_winuwp.cc b/shell/platform/windows/flutter_window_winuwp.cc index ce85a92e6e955..4a6910020a529 100644 --- a/shell/platform/windows/flutter_window_winuwp.cc +++ b/shell/platform/windows/flutter_window_winuwp.cc @@ -395,7 +395,8 @@ bool FlutterWindowWinUWP::OnBitmapSurfaceUpdated(const void* allocation, PointerLocation FlutterWindowWinUWP::GetPrimaryPointerLocation() { auto point = window_.PointerPosition(); auto bounds = window_.Bounds(); - return {static_cast(point.X - bounds.X), static_cast(point.Y - bounds.Y)}; + return {static_cast(point.X - bounds.X), + static_cast(point.Y - bounds.Y)}; } } // namespace flutter diff --git a/shell/platform/windows/window_binding_handler.h b/shell/platform/windows/window_binding_handler.h index 4ed1e54ad5d22..53d99006b6cf8 100644 --- a/shell/platform/windows/window_binding_handler.h +++ b/shell/platform/windows/window_binding_handler.h @@ -103,7 +103,7 @@ class WindowBindingHandler { virtual void OnResetImeComposing() = 0; // Returns the last known position of the primary pointer - virtual PointerLocation GetPrimaryPointerLocation() = 0; + virtual PointerLocation GetPrimaryPointerLocation() = 0; }; } // namespace flutter