Chromium Code Reviews| 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..5b3cd1776d00760e596c6148a481d7e669da4939 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. |
|
dmichael (off chromium)
2013/08/08 21:24:03
Is that true always, or only after we switch the p
teravest
2013/08/09 02:00:08
Done.
|
| CONTENT_EXPORT static RendererPpapiHost* GetForPPInstance( |
| PP_Instance instance); |