Skip to content

Commit

Permalink
In the service protocol, if no view is specified to flush tasks on, p…
Browse files Browse the repository at this point in the history
…ick the first one. (flutter#5028)
  • Loading branch information
chinmaygarde authored Apr 17, 2018
1 parent ecaefd7 commit 0c09bf0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/service_protocol.cc
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ bool ServiceProtocol::HandleMessage(fxl::StringView method,
// TODO(chinmaygarde): Deprecate these calls in the tools and remove these
// fallbacks.
if (method == kScreenshotExtensionName ||
method == kScreenshotSkpExtensionName) {
method == kScreenshotSkpExtensionName ||
method == kFlushUIThreadTasksExtensionName) {
return HandleMessageOnHandler(*handlers_.begin(), method, params, response);
}

Expand Down

0 comments on commit 0c09bf0

Please sign in to comment.