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

Unified Diff: content/plugin/webplugin_delegate_stub.cc

Issue 19844003: Remove webkit/plugins/npapi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove GetDefaultWindowParent Created 7 years, 5 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/plugin/webplugin_delegate_stub.cc
===================================================================
--- content/plugin/webplugin_delegate_stub.cc (revision 212595)
+++ content/plugin/webplugin_delegate_stub.cc (working copy)
@@ -182,6 +182,11 @@
params.host_render_view_routing_id);
delegate_ = WebPluginDelegateImpl::Create(path, mime_type_);
if (delegate_) {
+ if (delegate_->GetQuirks() &
+ WebPluginDelegateImpl::PLUGIN_QUIRK_DIE_AFTER_UNLOAD) {
+ PluginThread::current()->SetForcefullyTerminatePluginProcess();
+ }
+
webplugin_->set_delegate(delegate_);
std::vector<std::string> arg_names = params.arg_names;
std::vector<std::string> arg_values = params.arg_values;

Powered by Google App Engine
This is Rietveld 408576698