Index: chrome/browser/automation/automation_provider.cc |
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc |
index de4e0295b4be376517f7af4f2c06d56459c6a9c8..6f35f7f6fe68646afe1bc3c775971615e200ebe7 100644 |
--- a/chrome/browser/automation/automation_provider.cc |
+++ b/chrome/browser/automation/automation_provider.cc |
@@ -211,7 +211,7 @@ bool AutomationProvider::InitializeChannel(const std::string& channel_id) { |
GetChannelMode(use_named_interface), |
this, |
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO))); |
- channel_->AddFilter(automation_resource_message_filter_); |
+ channel_->AddFilter(automation_resource_message_filter_.get()); |
#if defined(OS_CHROMEOS) |
if (use_initial_load_observers_) { |