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

Commit 61a9d2d

Browse files
committed
Add comment
1 parent 8346cc3 commit 61a9d2d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

shell/platform/windows/accessibility_plugin.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ void AccessibilityPlugin::SetUp(BinaryMessenger* binary_messenger,
6565
[plugin](const EncodableValue& message,
6666
const MessageReply<EncodableValue>& reply) {
6767
HandleMessage(plugin, message);
68-
reply(EncodableValue{""});
68+
69+
// The accessibility channel does not support error handling.
70+
// Always return an empty response even on failure.
71+
reply(EncodableValue{nullptr});
6972
});
7073
}
7174

0 commit comments

Comments
 (0)