summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 15:49:17 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 15:49:17 +0000
commit470f250d93f7d22774f5b2d4b258354e131a2e01 (patch)
tree2b6f3f202b41954652099f13455251bab3d3276f /chrome/test/automation
parent1b314ed8978593ddc8b1b5fb3dae35c5aaebb48c (diff)
downloadchromium_src-470f250d93f7d22774f5b2d4b258354e131a2e01.zip
chromium_src-470f250d93f7d22774f5b2d4b258354e131a2e01.tar.gz
chromium_src-470f250d93f7d22774f5b2d4b258354e131a2e01.tar.bz2
Remove spurious DCHECK in automation handle tracker that was occasionally getting tripped. Note that the handle value can safely be zero here.
Review URL: http://codereview.chromium.org/165399 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23311 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation')
-rw-r--r--chrome/test/automation/automation_handle_tracker.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/test/automation/automation_handle_tracker.cc b/chrome/test/automation/automation_handle_tracker.cc
index db688cc..1cefc08 100644
--- a/chrome/test/automation/automation_handle_tracker.cc
+++ b/chrome/test/automation/automation_handle_tracker.cc
@@ -57,7 +57,6 @@ void AutomationHandleTracker::InvalidateHandle(AutomationHandle handle) {
AutomationResourceProxy* AutomationHandleTracker::GetResource(
AutomationHandle handle) {
- DCHECK(handle);
AutoLock lock(map_lock_);
HandleToObjectMap::iterator iter = handle_to_object_.find(handle);
if (iter == handle_to_object_.end())