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 562ca7e3f5a004d43513573b60ca9d46d7c44ad9..e4b3b7693117f9b9acffc25c241d66eec8eefebd 100644 |
--- a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc |
+++ b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc |
@@ -76,7 +76,7 @@ ppapi::host::PpapiHost* BrowserPpapiHostImpl::GetPpapiHost() { |
base::ProcessHandle BrowserPpapiHostImpl::GetPluginProcessHandle() const { |
// Handle should previously have been set before use. |
- DCHECK(plugin_process_handle_ != base::kNullProcessHandle); |
+ DCHECK(in_process_ || plugin_process_handle_ != base::kNullProcessHandle); |
return plugin_process_handle_; |
} |