Index: content/renderer/npapi/webplugin_impl.cc |
diff --git a/content/renderer/npapi/webplugin_impl.cc b/content/renderer/npapi/webplugin_impl.cc |
index f9caddc4d3fccb1d5d57f7c8e892eba696a1ef0a..bfdaac6e08beeca13a133d233504fb313b115179 100644 |
--- a/content/renderer/npapi/webplugin_impl.cc |
+++ b/content/renderer/npapi/webplugin_impl.cc |
@@ -1230,8 +1230,8 @@ void WebPluginImpl::HandleURLRequestInternal(const char* url, |
if (!delegate_) |
return; |
- if (!CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kDisableDirectNPAPIRequests)) { |
+ if (CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kDirectNPAPIRequests)) { |
// We got here either because the plugin called GetURL/PostURL, or because |
// we're fetching the data for an embed tag. If we're in multi-process mode, |
// we want to fetch the data in the plugin process as the renderer won't be |