Index: chrome/browser/pepper_flash_settings_manager.cc |
diff --git a/chrome/browser/pepper_flash_settings_manager.cc b/chrome/browser/pepper_flash_settings_manager.cc |
index 1945d67c909e9dc38ad985615d5500869f6fe7d5..fe46c2453ebc767b2cdf9479b76afd29c84e07b0 100644 |
--- a/chrome/browser/pepper_flash_settings_manager.cc |
+++ b/chrome/browser/pepper_flash_settings_manager.cc |
@@ -353,7 +353,7 @@ void PepperFlashSettingsManager::Core::ConnectToChannel( |
return; |
} |
- channel_.reset(new IPC::Channel(handle, IPC::Channel::MODE_CLIENT, this)); |
+ channel_.reset(IPC::Channel::CreateClient(handle, this)); |
if (!channel_->Connect()) { |
DLOG(ERROR) << "Couldn't connect to plugin"; |
NotifyErrorFromIOThread(); |