Index: extensions/renderer/script_context_set.h |
diff --git a/extensions/renderer/script_context_set.h b/extensions/renderer/script_context_set.h |
index ca9b81e2a153669bf50b7e79cc3b1b30f0e3f24d..be2621477e556d94cfcde7e652f3b4eb69270c1c 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_frame|. |