Fix clipboard markup sanitizer crash when we fail to create a fragment
CreateFragmentFromMarkupWithContext() may fail to create a fragment from some markup. crrev.com/c/1922919 incorrectly removes the handling of this case and results in a regression. This patch adds back the handling. Bug: 1032673 Change-Id: If02997859f3ccc074df3da1d91e974b2dc4794ef Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1963107Reviewed-by:Kent Tamura <tkent@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#724056}
Showing
Please register or sign in to comment