Skip to content

Commit 785e21a

Browse files
committed
Apply review comments
1 parent 1ddeefe commit 785e21a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

packages/tizen_window_manager/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2021 Samsung Electronics Co., Ltd. All rights reserved.
1+
Copyright (c) 2025 Samsung Electronics Co., Ltd. All rights reserved.
22

33
Redistribution and use in source and binary forms, with or without modification,
44
are permitted provided that the following conditions are met:

packages/tizen_window_manager/tizen/src/tizen_window_manager_plugin.cc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ class TizenWindowManagerPlugin : public flutter::Plugin {
3636
plugin_registrar->AddPlugin(std::move(plugin));
3737
}
3838

39-
TizenWindowManagerPlugin(FlutterDesktopPluginRegistrarRef registrar_ref)
40-
: registrar_ref_(registrar_ref) {
39+
TizenWindowManagerPlugin(FlutterDesktopPluginRegistrarRef registrar_ref) {
4140
FlutterDesktopViewRef flutter_view =
42-
FlutterDesktopPluginRegistrarGetView(registrar_ref_);
41+
FlutterDesktopPluginRegistrarGetView(registrar_ref);
4342
void *handle = FlutterDesktopViewGetNativeHandle(flutter_view);
4443
if (!handle) {
4544
LOG_ERROR("Fail to get native window handle.");
@@ -74,7 +73,6 @@ class TizenWindowManagerPlugin : public flutter::Plugin {
7473
}
7574
}
7675

77-
FlutterDesktopPluginRegistrarRef registrar_ref_;
7876
std::unique_ptr<TizenWindowManager> window_manager_ = nullptr;
7977
};
8078

0 commit comments

Comments
 (0)