Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit efabd48

Browse files
committed
Attempt #2 to fix CI failures
1 parent 0b87117 commit efabd48

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

shell/platform/windows/direct_manipulation.cc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ DirectManipulationOwner::DirectManipulationOwner(WindowWin32* window)
117117
: window_(window) {}
118118

119119
int DirectManipulationOwner::Init(unsigned int width, unsigned int height) {
120-
HRESULT hr = CoCreateInstance(
121-
CLSID_DirectManipulationManager, nullptr, CLSCTX_INPROC_SERVER,
122-
IID_IDirectManipulationManager, &manager_);
120+
HRESULT hr = CoCreateInstance(CLSID_DirectManipulationManager, nullptr,
121+
CLSCTX_INPROC_SERVER,
122+
IID_IDirectManipulationManager, &manager_);
123123
if (FAILED(hr)) {
124124
FML_LOG(ERROR)
125125
<< "CoCreateInstance(CLSID_DirectManipulationManager) failed";
@@ -137,8 +137,7 @@ int DirectManipulationOwner::Init(unsigned int width, unsigned int height) {
137137
}
138138

139139
hr = manager_->CreateViewport(nullptr, window_->GetWindowHandle(),
140-
IID_IDirectManipulationViewport,
141-
&viewport_);
140+
IID_IDirectManipulationViewport, &viewport_);
142141
if (FAILED(hr)) {
143142
FML_LOG(ERROR) << "CreateViewport failed";
144143
manager_ = nullptr;

shell/platform/windows/flutter_window_winuwp.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,8 @@ bool FlutterWindowWinUWP::OnBitmapSurfaceUpdated(const void* allocation,
365365
PointerLocation FlutterWindowWinUWP::GetPrimaryPointerLocation() {
366366
auto point = window_.PointerPosition();
367367
auto bounds = window_.Bounds();
368-
return {static_cast<size_t>(point.X - bounds.X), static_cast<size_t>(point.Y - bounds.Y)};
368+
return {static_cast<size_t>(point.X - bounds.X),
369+
static_cast<size_t>(point.Y - bounds.Y)};
369370
}
370371

371372
} // namespace flutter

shell/platform/windows/window_binding_handler.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ class WindowBindingHandler {
9797
virtual bool OnBitmapSurfaceUpdated(const void* allocation,
9898
size_t row_bytes,
9999
size_t height) = 0;
100-
100+
101101
// Returns the last known position of the primary pointer
102-
virtual PointerLocation GetPrimaryPointerLocation() = 0;
102+
virtual PointerLocation GetPrimaryPointerLocation() = 0;
103103
};
104104

105105
} // namespace flutter

0 commit comments

Comments
 (0)