Remove redundant clearing from ~PermissionRequestManager()
PermissionRequestManager's destructor currently clears its request vectors, but as it is a WebContentsUserData these should already have been cleared in WebContentsDestroyed. This patch replaces this with assertions the vectors are empty. Change-Id: I71d56e91356435698c9dbcb4fcc347b997d05e6f Reviewed-on: https://chromium-review.googlesource.com/562845Reviewed-by:Raymes Khoury <raymes@chromium.org> Commit-Queue: Timothy Loh <timloh@chromium.org> Cr-Commit-Position: refs/heads/master@{#485176}
Showing
Please register or sign in to comment