| Index: content/renderer/pepper/pepper_plugin_instance_impl.h
|
| diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.h b/content/renderer/pepper/pepper_plugin_instance_impl.h
|
| index ee66136bd4a0d76f24573849ca4ffe006c654f75..4b86e6e67c2eb6af8a76fbc077e6ba8be9674188 100644
|
| --- a/content/renderer/pepper/pepper_plugin_instance_impl.h
|
| +++ b/content/renderer/pepper/pepper_plugin_instance_impl.h
|
| @@ -59,6 +59,7 @@
|
| #include "ui/events/latency_info.h"
|
| #include "ui/gfx/rect.h"
|
| #include "url/gurl.h"
|
| +#include "v8/include/v8.h"
|
|
|
| struct PP_Point;
|
| struct _NPP;
|
| @@ -94,10 +95,6 @@ struct PPP_Instance_Combined;
|
| class ScopedPPVar;
|
| }
|
|
|
| -namespace v8 {
|
| -class Isolate;
|
| -}
|
| -
|
| namespace content {
|
|
|
| class ContentDecryptorDelegate;
|
| @@ -146,6 +143,9 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
|
| return *resource_creation_.get();
|
| }
|
|
|
| + // Return the v8 context that the plugin is in.
|
| + v8::Local<v8::Context> GetContext();
|
| +
|
| // Does some pre-destructor cleanup on the instance. This is necessary
|
| // because some cleanup depends on the plugin instance still existing (like
|
| // calling the plugin's DidDestroy function). This function is called from
|
|
|