use current session when not defined
This commit is contained in:
parent
57244e4718
commit
de3ccc4b98
4 changed files with 10 additions and 9 deletions
|
@ -31,7 +31,7 @@ class Session: public mate::TrackableObject<Session> {
|
|||
static mate::Handle<Session> CreateFrom(
|
||||
v8::Isolate* isolate, AtomBrowserContext* browser_context);
|
||||
|
||||
AtomBrowserContext* GetBrowserContext() const;
|
||||
AtomBrowserContext* browser_context() const { return browser_context_; }
|
||||
|
||||
protected:
|
||||
explicit Session(AtomBrowserContext* browser_context);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue