Skip to content

Commit

Permalink
Make sure all variables in PerformanceResourceTiming are initialized
Browse files Browse the repository at this point in the history
Bug: 967996
Change-Id: Ia672a9a80d01ca061585dc8c1cd9f2632b8d0788
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1635670
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#664332}
  • Loading branch information
Yoav Weiss authored and Commit Bot committed May 29, 2019
1 parent 8f9d9be commit b52d7cf
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ class CORE_EXPORT PerformanceResourceTiming : public PerformanceEntry {
scoped_refptr<ResourceLoadTiming> timing_;
TimeTicks last_redirect_end_time_;
TimeTicks response_end_;
uint64_t transfer_size_;
uint64_t encoded_body_size_;
uint64_t decoded_body_size_;
bool did_reuse_connection_;
bool allow_timing_details_;
bool allow_redirect_details_;
bool allow_negative_value_;
uint64_t transfer_size_ = 0;
uint64_t encoded_body_size_ = 0;
uint64_t decoded_body_size_ = 0;
bool did_reuse_connection_ = false;
bool allow_timing_details_ = false;
bool allow_redirect_details_ = false;
bool allow_negative_value_ = false;
bool is_secure_context_ = false;
HeapVector<Member<PerformanceServerTiming>> server_timing_;
};
Expand Down

0 comments on commit b52d7cf

Please sign in to comment.