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

Unified Diff: content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc

Issue 126083002: Pepper: Remove BrowserPpapiHostImpl::in_process(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix CHECK condition Created 6 years, 11 months 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
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_;
}

Powered by Google App Engine
This is Rietveld 408576698