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

Remove the view ID check in macOS/FlutterCompositor #51852

Merged
merged 1 commit into from
Apr 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@
bool FlutterCompositor::Present(FlutterViewId view_id,
const FlutterLayer** layers,
size_t layers_count) {
// TODO(dkwingsmt): The macOS embedder only supports rendering to the implicit
// view for now. As it supports adding more views, this assertion should be
// lifted. https://github.com/flutter/flutter/issues/142845
FML_DCHECK(view_id == kFlutterImplicitViewId);
FlutterView* view = [view_provider_ viewForId:view_id];
if (!view) {
return false;
Expand Down