Commit b4f14ba5 authored by bruening@chromium.org's avatar bruening@chromium.org

Initialize AppListItem::has_shadow_ to avoid uninitialized reads.

BUG=338739
R=koz@chromium.org
TEST=unit_tests:AppListModelPicklerUnitTest.OneItem

Review URL: https://codereview.chromium.org/132743006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247620 0039d316-1c4b-4281-b951-d872f2087c98
parent 7288ffd2
...@@ -11,6 +11,7 @@ namespace app_list { ...@@ -11,6 +11,7 @@ namespace app_list {
AppListItem::AppListItem(const std::string& id) AppListItem::AppListItem(const std::string& id)
: id_(id), : id_(id),
has_shadow_(false),
highlighted_(false), highlighted_(false),
is_installing_(false), is_installing_(false),
percent_downloaded_(-1) { percent_downloaded_(-1) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment