Commit f4680290 authored by tsepez's avatar tsepez Committed by Commit bot

Fix uninitialized member from PageIndicator::PageIndicator().

Per msan report, the line in question reads:
  if (timer_id == fade_out_timer_id_) {
so initialize fade_out_timer_id_ in the constructor.

BUG=411177

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

Cr-Commit-Position: refs/heads/master@{#294055}
parent 1f24028e
...@@ -15,6 +15,7 @@ namespace chrome_pdf { ...@@ -15,6 +15,7 @@ namespace chrome_pdf {
PageIndicator::PageIndicator() PageIndicator::PageIndicator()
: current_page_(0), : current_page_(0),
fade_out_timer_id_(0),
splash_timeout_(kPageIndicatorSplashTimeoutMs), splash_timeout_(kPageIndicatorSplashTimeoutMs),
fade_timeout_(kPageIndicatorScrollFadeTimeoutMs), fade_timeout_(kPageIndicatorScrollFadeTimeoutMs),
always_visible_(false) { always_visible_(false) {
......
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