From 51f14a3192290c9c4cfb6c9bad953e9ad1102f48 Mon Sep 17 00:00:00 2001 From: "jar@chromium.org" Date: Tue, 15 Dec 2009 18:24:24 +0000 Subject: Deserialize UMA flag on histograms moving from renderer to browsers During a recent migration, we forgot to properly resurrect the flags in a histogram as they are carried from the renderer processes into the browser process. Since the flag is the critical marker that identifies which histograms to upload via UMA, this caused renderer histograms to not get reported. BUG=30478 r=raman.tenetti,mbelshe Review URL: http://codereview.chromium.org/505006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34574 0039d316-1c4b-4281-b951-d872f2087c98 --- base/histogram.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'base') diff --git a/base/histogram.cc b/base/histogram.cc index 3a5a5b2..b421156d 100644 --- a/base/histogram.cc +++ b/base/histogram.cc @@ -464,6 +464,7 @@ bool Histogram::DeserializeHistogramInfo(const std::string& histogram_info) { histogram_name; } else { render_histogram->AddSampleSet(sample); + render_histogram->SetFlags(flags & ~kIPCSerializationSourceFlag); } return true; -- cgit v1.1