Commit 45479a35 authored by Sidney San Martín's avatar Sidney San Martín Committed by Commit Bot

Delete a DCHECK which triggers frequently in dev.

It's hit when creating a new window in fullscreen. The linked bug
mentions leaving it in place as a reminder to add a test, but I keep
getting bit. The bug should sufficiently document the need for a test.

Bug: 844482
Change-Id: Ibbd1cf24864c8122e82ba189072dcc2711afc326
Reviewed-on: https://chromium-review.googlesource.com/c/1482558
Auto-Submit: Sidney San Martín <sdy@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#634705}
parent fe5af597
......@@ -815,10 +815,6 @@ void BridgedNativeWidgetImpl::OnWindowWillClose() {
void BridgedNativeWidgetImpl::OnFullscreenTransitionStart(
bool target_fullscreen_state) {
// Note: This can fail for fullscreen changes started externally, but a user
// shouldn't be able to do that if the window is invisible to begin with.
DCHECK(window_visible_);
DCHECK_NE(target_fullscreen_state, target_fullscreen_state_);
target_fullscreen_state_ = target_fullscreen_state;
in_fullscreen_transition_ = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment