Skip to content

Commit

Permalink
Fix an NTP texture issue
Browse files Browse the repository at this point in the history
I had previously disabled texture capture when the NTP was scrolled to
fix issue 922909, but it caused another issue with side swipe when the
NTP was scrolled and Duet is enabled. The original fix is no longer
needed due to other changes. Notably, we allow texture captures while in
the tab switcher now.

BUG=938231

Change-Id: Iacb209594e12a04f180b18343b6f51205b338c53
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1512707
Reviewed-by: Ted Choc <[email protected]>
Commit-Queue: Theresa <[email protected]>
Cr-Commit-Position: refs/heads/master@{#639269}
  • Loading branch information
Theresa authored and Commit Bot committed Mar 9, 2019
1 parent 59321fa commit 3ded53e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1535,7 +1535,7 @@ public boolean isReadyForTextureCapture() {
if (mForceTextureCapture) {
return true;
}
return !(urlHasFocus() || mUrlFocusChangeInProgress || mNtpSearchBoxScrollPercent > 0);
return !(urlHasFocus() || mUrlFocusChangeInProgress);
}

@Override
Expand Down

0 comments on commit 3ded53e

Please sign in to comment.