Index: content/renderer/pepper/pepper_browser_connection.cc |
diff --git a/content/renderer/pepper/pepper_browser_connection.cc b/content/renderer/pepper/pepper_browser_connection.cc |
index 892506ede2f22526f71e64034407459c69121ee6..f8e08b21d17e606abb40507636ca51a8f36d551b 100644 |
--- a/content/renderer/pepper/pepper_browser_connection.cc |
+++ b/content/renderer/pepper/pepper_browser_connection.cc |
@@ -42,11 +42,15 @@ void PepperBrowserConnection::DidCreateInProcessInstance( |
int render_frame_id, |
const GURL& document_url, |
const GURL& plugin_url) { |
+ // We don't need to know if it's a privileged context for in-process plugins. |
+ // In process plugins are deprecated and the only in-process plugin that |
+ // exists is the "NaCl plugin" which will never need to know this. |
+ bool is_privileged_context = false; |
Send(new ViewHostMsg_DidCreateInProcessInstance( |
instance, |
// Browser provides the render process id. |
- PepperRendererInstanceData( |
- 0, render_frame_id, document_url, plugin_url))); |
+ PepperRendererInstanceData(0, render_frame_id, document_url, plugin_url, |
+ is_privileged_context))); |
} |
void PepperBrowserConnection::DidDeleteInProcessInstance(PP_Instance instance) { |