summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_histograms.cc
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-07 21:57:07 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-07 21:57:07 +0000
commitf07f39e6a966ae3397bc032e5c8fc543c0db7789 (patch)
tree99a554e7563b27fefc7b1eb3d2ace842b1036354 /chrome_frame/chrome_frame_histograms.cc
parent1dceafdad2f5384a2b10a6cf66ae5554f7712bc8 (diff)
downloadchromium_src-f07f39e6a966ae3397bc032e5c8fc543c0db7789.zip
chromium_src-f07f39e6a966ae3397bc032e5c8fc543c0db7789.tar.gz
chromium_src-f07f39e6a966ae3397bc032e5c8fc543c0db7789.tar.bz2
Histograms sent out to Chrome need to have the kIPCSerializationSourceFlag flag set. Not having this flag
causes a DCHECK to fire. Review URL: http://codereview.chromium.org/519077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35739 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_frame_histograms.cc')
-rw-r--r--chrome_frame/chrome_frame_histograms.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome_frame/chrome_frame_histograms.cc b/chrome_frame/chrome_frame_histograms.cc
index e1ea548..904cbec 100644
--- a/chrome_frame/chrome_frame_histograms.cc
+++ b/chrome_frame/chrome_frame_histograms.cc
@@ -30,6 +30,7 @@ ChromeFrameHistogramSnapshots::HistogramPickledList
for (StatisticsRecorder::Histograms::iterator it = histograms.begin();
histograms.end() != it;
it++) {
+ (*it)->SetFlags(Histogram::kIPCSerializationSourceFlag);
GatherHistogram(**it, &pickled_histograms);
}