| Index: extensions/renderer/script_context_set.h
|
| diff --git a/extensions/renderer/script_context_set.h b/extensions/renderer/script_context_set.h
|
| index b7424ae48247de54b818e41ceb87e0d3790903f2..cfe96727a7fce116bf79e88a73e1cbcff7b8f0ee 100644
|
| --- a/extensions/renderer/script_context_set.h
|
| +++ b/extensions/renderer/script_context_set.h
|
| @@ -77,6 +77,9 @@ class ScriptContextSet {
|
| // Gets the ScriptContext corresponding to the specified
|
| // v8::Context or NULL if no such context exists.
|
| ScriptContext* GetByV8Context(const v8::Local<v8::Context>& context) const;
|
| + // Static equivalent of the above.
|
| + static ScriptContext* GetContextByV8Context(
|
| + const v8::Local<v8::Context>& context);
|
|
|
| // Synchronously runs |callback| with each ScriptContext that belongs to
|
| // |extension_id| in |render_view|.
|
|
|