Commit 9a23a3bc authored by Charlie Hu's avatar Charlie Hu Committed by Commit Bot

Initialize bool_value_ and double_value_ to default values in policy_value

Bug: 1005779
Change-Id: I915eac43a06592cf2e196632408b4736b4f75f30
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1827823Reviewed-by: default avatarIan Clelland <iclelland@chromium.org>
Commit-Queue: Charlie Hu <chenleihu@google.com>
Cr-Commit-Position: refs/heads/master@{#700399}
parent a1bb0d12
...@@ -59,8 +59,8 @@ class BLINK_COMMON_EXPORT PolicyValue { ...@@ -59,8 +59,8 @@ class BLINK_COMMON_EXPORT PolicyValue {
private: private:
mojom::PolicyValueType type_; mojom::PolicyValueType type_;
bool bool_value_; bool bool_value_ = false;
double double_value_; double double_value_ = 0.0;
}; };
bool BLINK_COMMON_EXPORT operator==(const PolicyValue& lhs, bool BLINK_COMMON_EXPORT operator==(const PolicyValue& lhs,
......
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