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

Commit dc51cd5

Browse files
committed
Feedback
1 parent 1cfb7b2 commit dc51cd5

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

runtime/runtime_controller.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ bool RuntimeController::RemoveView(int64_t view_id) {
184184
pending_add_view_callbacks_.end()) {
185185
pending_add_view_callbacks_[view_id](false);
186186
pending_add_view_callbacks_.erase(view_id);
187-
return true;
188187
}
189188

190189
return false;

shell/common/shell_unittests.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4698,7 +4698,7 @@ TEST_F(ShellTest, ShellFlushesPlatformStatesByMain) {
46984698
// This effectively cancels the pending add view operation.
46994699
shell->AddView(2, ViewportMetrics{1, 30, 1, 0, 0},
47004700
[](bool added) { ASSERT_FALSE(added); });
4701-
shell->RemoveView(2, [](bool removed) { ASSERT_TRUE(removed); });
4701+
shell->RemoveView(2, [](bool removed) { ASSERT_FALSE(removed); });
47024702
});
47034703

47044704
bool first_report = true;

0 commit comments

Comments
 (0)