diff options
author | dgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-12 19:35:10 +0000 |
---|---|---|
committer | dgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-12 19:35:10 +0000 |
commit | a99795043a290bbb4ec92068e3d9c68f6ebd15fd (patch) | |
tree | a84ba592f4db8cda4ceb04a28077400db3ea5185 /ipc | |
parent | 0d419a6f01abe2ea5e950335e89b80a4ea279456 (diff) | |
download | chromium_src-a99795043a290bbb4ec92068e3d9c68f6ebd15fd.zip chromium_src-a99795043a290bbb4ec92068e3d9c68f6ebd15fd.tar.gz chromium_src-a99795043a290bbb4ec92068e3d9c68f6ebd15fd.tar.bz2 |
Fix LevelDB histogram code.
The old code misused the macros provided by histogram.h such
that a DCHECK failed on the bots. UMA_HISTOGRAM_ENUMERATION
et al use a static variable to retrieve the Histogram
objects, so a single instance of that macro can't be used to
retrieve multiple histograms. The old code tried to retrieve
both LevelDBEnv.IOError and LevelDBEnv.IDB.IOError. This CL
forgoes use of the macro and keeps a pointer to the
Histogram objects around.
http://wkb.ug/106135 will have to reland to make use of this.
BUG=164755
Review URL: https://chromiumcodereview.appspot.com/11860015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176577 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions