Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
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
Next Next commit
[Fuchsia] Assert renders are only into the implicit view
  • Loading branch information
loic-sharma committed Mar 20, 2024
commit 0d669408e5e0f2cc92daedab1432e325f0c65144
4 changes: 4 additions & 0 deletions shell/platform/fuchsia/flutter/external_view_embedder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ void ExternalViewEmbedder::BeginFrame(
void ExternalViewEmbedder::PrepareFlutterView(int64_t flutter_view_id,
SkISize frame_size,
double device_pixel_ratio) {
// TODO(team-fuchsia): Support multiple views. For now, Fuchsia can render
// only into the implicit view.
FML_DCHECK(flutter_view_id == kFlutterImplicitViewId);

// Reset for new view.
Reset();
frame_size_ = frame_size;
Expand Down