diff options
author | tsepez <tsepez@chromium.org> | 2014-09-09 17:45:47 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-10 00:54:32 +0000 |
commit | f4680290857fdc78eb9ff79305aead08b29d56ca (patch) | |
tree | 779984a01ac99eb2e195479cc868f0ddac83495d /pdf | |
parent | 1f24028e02a16438719a9b406abd03f58c074f1a (diff) | |
download | chromium_src-f4680290857fdc78eb9ff79305aead08b29d56ca.zip chromium_src-f4680290857fdc78eb9ff79305aead08b29d56ca.tar.gz chromium_src-f4680290857fdc78eb9ff79305aead08b29d56ca.tar.bz2 |
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}
Diffstat (limited to 'pdf')
-rw-r--r-- | pdf/page_indicator.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf/page_indicator.cc b/pdf/page_indicator.cc index 6177074..c4af1e0 100644 --- a/pdf/page_indicator.cc +++ b/pdf/page_indicator.cc @@ -15,6 +15,7 @@ namespace chrome_pdf { PageIndicator::PageIndicator() : current_page_(0), + fade_out_timer_id_(0), splash_timeout_(kPageIndicatorSplashTimeoutMs), fade_timeout_(kPageIndicatorScrollFadeTimeoutMs), always_visible_(false) { |