Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1385)

Unified Diff: chrome/browser/external_tab_container.cc

Issue 505033: Fix a crash in ChromeFrame caused by incorrectly instantiating the automation... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/external_tab_container.cc
===================================================================
--- chrome/browser/external_tab_container.cc (revision 34766)
+++ chrome/browser/external_tab_container.cc (working copy)
@@ -187,6 +187,8 @@
automation_resource_message_filter_ = filter;
if (load_requests_via_automation_) {
+ InitializeAutomationRequestContext(tab_handle_);
+
RenderViewHost* rvh = tab_contents_->render_view_host();
if (rvh) {
AutomationResourceMessageFilter::RegisterRenderView(
@@ -206,9 +208,6 @@
void ExternalTabContainer::SetTabHandle(int handle) {
tab_handle_ = handle;
- if (load_requests_via_automation_) {
- InitializeAutomationRequestContext(handle);
- }
}
void ExternalTabContainer::ProcessUnhandledAccelerator(const MSG& msg) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698