Commit ee0c3ba0 authored by Kevin Bailey's avatar Kevin Bailey Committed by Commit Bot

[offline page mode] Initialize bool

Class OfflinePageModel:SavePageParams was using an unset bool.
It's now initialized in the constructor.

Change-Id: Ie810decf6eb27c5ca0be020b52d5df3f4c43a7c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1699090Reviewed-by: default avatarJian Li <jianli@chromium.org>
Commit-Queue: Kevin Bailey <krb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#677066}
parent 517591e0
...@@ -12,7 +12,8 @@ const int64_t OfflinePageModel::kInvalidOfflineId; ...@@ -12,7 +12,8 @@ const int64_t OfflinePageModel::kInvalidOfflineId;
OfflinePageModel::SavePageParams::SavePageParams() OfflinePageModel::SavePageParams::SavePageParams()
: proposed_offline_id(OfflinePageModel::kInvalidOfflineId), : proposed_offline_id(OfflinePageModel::kInvalidOfflineId),
is_background(false) {} is_background(false),
use_page_problem_detectors(false) {}
OfflinePageModel::SavePageParams::SavePageParams(const SavePageParams& other) = OfflinePageModel::SavePageParams::SavePageParams(const SavePageParams& other) =
default; default;
......
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