Index: content/public/renderer/renderer_ppapi_host.h |
diff --git a/content/public/renderer/renderer_ppapi_host.h b/content/public/renderer/renderer_ppapi_host.h |
index 329961e93e0a138a918a3de845118273a15b33e5..36d6273bf559e57d3a349f528f3ead187009e5a0 100644 |
--- a/content/public/renderer/renderer_ppapi_host.h |
+++ b/content/public/renderer/renderer_ppapi_host.h |
@@ -47,6 +47,11 @@ class RendererPpapiHost { |
public: |
// Returns the RendererPpapiHost associated with the given PP_Instance, |
// or NULL if the instance is invalid. |
+ // |
+ // Do NOT use this when dealing with the "NaCl trusted plugin". That plugin |
+ // and the "untrusted plugin" (the NaCl application) that will be loaded |
+ // share a PP_Instance, and the RendererPpapiHost* for the "untrusted plugin" |
+ // will be returned after we switch the proxy on. |
CONTENT_EXPORT static RendererPpapiHost* GetForPPInstance( |
PP_Instance instance); |