Skip to content

Commit 96e5a47

Browse files
committed
Feedback
1 parent 0129d38 commit 96e5a47

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎engine/src/flutter/shell/platform/windows/host_window_popup.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void HostWindowPopup::UpdatePosition() {
8686
WindowRect work_area = GetWorkArea();
8787

8888
IsolateScope scope(isolate_);
89-
WindowRect rect;
89+
WindowRect rect{};
9090

9191
get_position_callback_(WindowSize{physical_width_, physical_height_},
9292
WindowRect{parent_top_left.x, parent_top_left.y,

‎engine/src/flutter/shell/platform/windows/host_window_tooltip.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ void HostWindowTooltip::UpdatePosition() {
8888
WindowRect work_area = GetWorkArea();
8989

9090
IsolateScope scope(isolate_);
91-
WindowRect rect;
91+
WindowRect rect{};
9292
get_position_callback_(WindowSize{physical_width_, physical_height_},
9393
WindowRect{parent_top_left.x, parent_top_left.y,
9494
parent_bottom_right.x - parent_top_left.x,

‎packages/flutter/lib/src/widgets/_window_win32.dart‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1676,7 +1676,7 @@ final class _PopupWindowCreationRequest extends ffi.Struct {
16761676
ffi.Void Function(
16771677
ffi.Pointer<_Size> childSize,
16781678
ffi.Pointer<_Rect> parentRect,
1679-
ffi.Pointer<_Rect> outputRect,
1679+
ffi.Pointer<_Rect> displayRect,
16801680
ffi.Pointer<_Rect> result,
16811681
)
16821682
>

0 commit comments

Comments
 (0)