commit | b4a35c5f53778450f68bb79cf7bbe03e2107d0da | [log] [tgz] |
---|---|---|
author | Mohamed Amir Yosef <mamir@chromium.org> | Thu Dec 13 14:42:48 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Dec 13 14:42:48 2018 |
tree | c6f8802bd90e8d00c2987d0f2c61bd7e41095ec4 | |
parent | d3e1b548e4e88a8819db4848ee9b50b177103e52 [diff] |
[Sync::USS] Fix crash when EstimateMemoryUsage in Bookmarks processor BookmarkModelTypeProcessor::EstimateMemoryUsage() should check bookmark_tracker_ for nullness before estimating the memory usage. The reason is if EstimateMemoryUsage() is called while the model is being loaded, the bookmark_tracker_ wouldn't have been initialized yet. Bug: 914745 Change-Id: I93f6ee0972022d4f72dcfdee5261f5efe51c5239 Reviewed-on: https://chromium-review.googlesource.com/c/1375124 Reviewed-by: Mikel Astiz <mastiz@chromium.org> Commit-Queue: Mohamed Amir Yosef <mamir@chromium.org> Cr-Commit-Position: refs/heads/master@{#616307}
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 .