From 5be044b1e42d53141690f010854b19267c51fdf6 Mon Sep 17 00:00:00 2001 From: "amit@chromium.org" Date: Wed, 19 Jan 2011 09:30:43 +0000 Subject: 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 --- base/win/registry.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'base') 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(const_cast(data)), dsize); -- cgit v1.1