commit | d39cc7742f8cd08f9a94815477e114157fa39c30 | [log] [tgz] |
---|---|---|
author | Yuwei Huang <yuweih@chromium.org> | Thu Sep 28 21:01:41 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Sep 28 21:01:41 2017 |
tree | d1658f913c9d65eeda6f6bcce0b96b2b2d4ac7b6 | |
parent | 1314c9312456a558142fa479c98bba8bb8acc63d [diff] |
[CRD iOS] Fixing an infinite layout loop On iOS 9, it seems the [self updateFABConstraintsAnimated:NO] call in viewDidLayoutSubviews and [self layoutIfNeeded] call in updateFABConstraintsAnimated causes an infinite layout loop, which crashes the app right after the HostViewController appears due to stack overflow. This CL fixes this problem by removing the updateFABConstraintsAnimated: call from viewDidLayoutSubviews. Bug: 769533 Change-Id: I311d9168db4bcae097455eb27a908c086de71572 Reviewed-on: https://chromium-review.googlesource.com/687829 Reviewed-by: Scott Nichols <nicholss@chromium.org> Commit-Queue: Yuwei Huang <yuweih@chromium.org> Cr-Commit-Position: refs/heads/master@{#505152}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .