| Index: chrome/renderer/extensions/chrome_v8_context_set.h
|
| diff --git a/chrome/renderer/extensions/chrome_v8_context_set.h b/chrome/renderer/extensions/chrome_v8_context_set.h
|
| index 4781fb124df666b71f061159d22d90d7c3659aaf..f47a61fe74a555d34ee8f0148eae68dc34f7404e 100644
|
| --- a/chrome/renderer/extensions/chrome_v8_context_set.h
|
| +++ b/chrome/renderer/extensions/chrome_v8_context_set.h
|
| @@ -51,10 +51,14 @@ class ChromeV8ContextSet {
|
| typedef std::set<ChromeV8Context*> ContextSet;
|
| ContextSet GetAll() const;
|
|
|
| - // Gets the ChromeV8Context corresponding to the v8::Context that is
|
| - // on the top of the stack, or NULL if no such context exists.
|
| + // Gets the ChromeV8Context corresponding to v8::Context::GetCurrent(), or
|
| + // NULL if no such context exists.
|
| ChromeV8Context* GetCurrent() const;
|
|
|
| + // Gets the ChromeV8Context corresponding to v8::Context::GetCalling(), or
|
| + // NULL if no such context exists.
|
| + ChromeV8Context* GetCalling() const;
|
| +
|
| // Gets the ChromeV8Context corresponding to the specified
|
| // v8::Context or NULL if no such context exists.
|
| ChromeV8Context* GetByV8Context(v8::Handle<v8::Context> context) const;
|
|
|