From 4c4aae74e9f32f7ff06226b3d5e2fd1723127913 Mon Sep 17 00:00:00 2001 From: "ananta@chromium.org" Date: Fri, 30 Jul 2010 05:54:21 +0000 Subject: Miscellaneous ChromeFrame code cleanup. The automation client class maintained GURL members holding the url and referrer. We can stuff this information into the ChromeFrameLaunchParams member maintained by the client. This reduces the complexity in the code related to detecting whether we can navigate up front or after chrome initialization. The ChromeFrame ActiveX now launches the automation server in its implementation of IPersistPropertyBag::Load. This avoids race conditions between launching the automation server and navigating to it via put_src. Review URL: http://codereview.chromium.org/3038038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54284 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/automation/automation_resource_message_filter.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'chrome') diff --git a/chrome/browser/automation/automation_resource_message_filter.cc b/chrome/browser/automation/automation_resource_message_filter.cc index d1c3cf5..2777f75 100644 --- a/chrome/browser/automation/automation_resource_message_filter.cc +++ b/chrome/browser/automation/automation_resource_message_filter.cc @@ -159,7 +159,6 @@ void AutomationResourceMessageFilter::UnRegisterRequest( DCHECK(ContainsKey(pending_request_map_, job->id())); pending_request_map_.erase(job->id()); } else { - DCHECK(ContainsKey(request_map_, job->id())); request_map_.erase(job->id()); } } -- cgit v1.1