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

Commit 2ca46e5

Browse files
committed
Rename method to match case convention
1 parent f39060c commit 2ca46e5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

shell/platform/linux/fl_engine.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -910,9 +910,9 @@ void fl_engine_send_mouse_pointer_event(FlEngine* self,
910910

911911
// Sets |event_data|'s phase to either kMove or kHover depending on the current
912912
// primary mouse button state.
913-
void SetEventPhaseFromCursorButtonState(FlEngine* self,
914-
FlutterPointerEvent* event_data,
915-
const PointerState* state) {
913+
void set_event_phase_from_cursor_button_state(FlEngine* self,
914+
FlutterPointerEvent* event_data,
915+
const PointerState* state) {
916916
// For details about this logic, see FlutterPointerPhase in the embedder.h
917917
// file.
918918
if (state->buttons == 0) {
@@ -971,7 +971,7 @@ void fl_engine_send_pointer_event(FlEngine* self,
971971
// Get the real phase based on the current button state.
972972
if (event_data_copy.phase != FlutterPointerPhase::kRemove &&
973973
event_data_copy.phase != FlutterPointerPhase::kAdd) {
974-
SetEventPhaseFromCursorButtonState(self, &event_data_copy, state);
974+
set_event_phase_from_cursor_button_state(self, &event_data_copy, state);
975975
}
976976

977977
// If sending anything other than an add, and the pointer isn't already added,

0 commit comments

Comments
 (0)