refactor: implement isRemoteModuleEnabled via getLastWebPreferences() (#19220)

This commit is contained in:
Milan Burda 2019-08-29 00:57:03 +02:00 committed by Jeremy Apthorp
parent 04debd5890
commit 01fdb80f7c
9 changed files with 13 additions and 30 deletions

View file

@ -291,8 +291,6 @@ class WebContents : public mate::TrackableObject<WebContents>,
v8::Local<v8::Value> GetWebPreferences(v8::Isolate* isolate) const;
v8::Local<v8::Value> GetLastWebPreferences(v8::Isolate* isolate) const;
bool IsRemoteModuleEnabled() const;
// Returns the owner window.
v8::Local<v8::Value> GetOwnerBrowserWindow() const;