Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3977)

Unified Diff: chrome/browser/engagement/site_engagement_helper.cc

Issue 1825463003: Fix uninitialized value in SiteEngagementHelper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/engagement/site_engagement_helper.cc
diff --git a/chrome/browser/engagement/site_engagement_helper.cc b/chrome/browser/engagement/site_engagement_helper.cc
index 089e47c03bd15457a5e85dbf5832958207e9e4ef..93a05ef163595695f4c3fe58e26b9f19a2794bd9 100644
--- a/chrome/browser/engagement/site_engagement_helper.cc
+++ b/chrome/browser/engagement/site_engagement_helper.cc
@@ -68,7 +68,9 @@ void SiteEngagementHelper::PeriodicTracker::StartTimer(
SiteEngagementHelper::InputTracker::InputTracker(
SiteEngagementHelper* helper,
content::WebContents* web_contents)
- : PeriodicTracker(helper), content::WebContentsObserver(web_contents) {}
+ : PeriodicTracker(helper),
+ content::WebContentsObserver(web_contents),
+ is_tracking_(false) {}
void SiteEngagementHelper::InputTracker::TrackingStarted() {
is_tracking_ = true;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698