Make Session trackable

This commit is contained in:
Cheng Zhao 2015-06-24 15:37:04 +08:00
parent 1023b67d59
commit 0ebd4d04ad
7 changed files with 27 additions and 16 deletions

View file

@ -142,7 +142,6 @@ class WebContents : public mate::TrackableObject,
~WebContents();
// mate::Wrappable:
void AfterInit(v8::Isolate* isolate);
mate::ObjectTemplateBuilder GetObjectTemplateBuilder(
v8::Isolate* isolate) override;
@ -241,7 +240,6 @@ class WebContents : public mate::TrackableObject,
// Returns the default size of the guestview.
gfx::Size GetDefaultSize() const;
v8::Global<v8::Value> session_;
// Stores whether the contents of the guest can be transparent.