diff options
author | amit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-19 09:30:43 +0000 |
---|---|---|
committer | amit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-19 09:30:43 +0000 |
commit | 5be044b1e42d53141690f010854b19267c51fdf6 (patch) | |
tree | 362a8ac2797180b066a943d34bce2345a8bb60a3 /base | |
parent | 106505e9cbb8fe23d2a3f059be501207f430763b (diff) | |
download | chromium_src-5be044b1e42d53141690f010854b19267c51fdf6.zip chromium_src-5be044b1e42d53141690f010854b19267c51fdf6.tar.gz chromium_src-5be044b1e42d53141690f010854b19267c51fdf6.tar.bz2 |
Remove unnecessary DCHECK causing unit test failure.
BUG=none
TEST=GoogleUpdateSettings::SetCollectStatsConsent
TBR=cevans
Review URL: http://codereview.chromium.org/6281008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71773 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/win/registry.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/base/win/registry.cc b/base/win/registry.cc index cdcdc5c..b7108a2 100644 --- a/base/win/registry.cc +++ b/base/win/registry.cc @@ -219,7 +219,6 @@ GONG RegKey::WriteValue(const wchar_t* name, const void * data, DWORD dsize, DWORD dtype) { base::ThreadRestrictions::AssertIOAllowed(); DCHECK(data); - DCHECK(key_); LONG result = RegSetValueEx(key_, name, 0, dtype, reinterpret_cast<LPBYTE>(const_cast<void*>(data)), dsize); |