summaryrefslogtreecommitdiffstats
path: root/pdf
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2014-09-09 17:45:47 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-10 00:54:32 +0000
commitf4680290857fdc78eb9ff79305aead08b29d56ca (patch)
tree779984a01ac99eb2e195479cc868f0ddac83495d /pdf
parent1f24028e02a16438719a9b406abd03f58c074f1a (diff)
downloadchromium_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.cc1
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) {