Fix shader_disk_cache.cc not running the clearing callback when cache is empty
The ShaderClearHelper never runs the callback if there is no cache to clear. Clearing shader cache is part of the BrowsingDataRemover's procedure when DATA_TYPE_CACHE flag is set. So this results in BrowsingDataRemover never reporting completion to its observers. Bug: 1020168 Change-Id: I23ba6ed2a99b6c44acf0b349dd398f26133369a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1890310Reviewed-by:Kenneth Russell <kbr@chromium.org> Reviewed-by:
Bo <boliu@chromium.org> Commit-Queue: Pavel Shmakov <pshmakov@chromium.org> Cr-Commit-Position: refs/heads/master@{#711359}
Showing
Please register or sign in to comment