Commit 5be044b1 authored by amit@chromium.org's avatar amit@chromium.org

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
parent 106505e9
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment