| Index: content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc
|
| diff --git a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc
|
| index 8caaaf63f81ef48bac495118e2fc71add3261b80..92e5b7621f21bfde7f04006b7f91f2e0ebac4d94 100644
|
| --- a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc
|
| +++ b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc
|
| @@ -12,7 +12,8 @@ BrowserPpapiHostImpl::BrowserPpapiHostImpl(
|
| IPC::Sender* sender,
|
| const ppapi::PpapiPermissions& permissions)
|
| : host_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)),
|
| - ppapi_host_(sender, &host_factory_, permissions) {
|
| + ppapi_host_(sender, &host_factory_, permissions),
|
| + plugin_process_handle_(base::kNullProcessHandle) {
|
| }
|
|
|
| BrowserPpapiHostImpl::~BrowserPpapiHostImpl() {
|
| @@ -34,4 +35,10 @@ ppapi::host::PpapiHost* BrowserPpapiHostImpl::GetPpapiHost() {
|
| return &ppapi_host_;
|
| }
|
|
|
| +base::ProcessHandle BrowserPpapiHostImpl::GetPluginProcessHandle() const {
|
| + // Handle should previously have been set before use.
|
| + DCHECK(plugin_process_handle_ != base::kNullProcessHandle);
|
| + return plugin_process_handle_;
|
| +}
|
| +
|
| } // namespace content
|
|
|