mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
💄
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
namespace brightray {
|
||||
|
||||
InspectableWebContents* InspectableWebContents::Create(const content::WebContents::CreateParams& create_params) {
|
||||
return new InspectableWebContentsImpl(content::WebContents::Create(create_params));
|
||||
return Create(content::WebContents::Create(create_params));
|
||||
}
|
||||
|
||||
InspectableWebContents* InspectableWebContents::Create(content::WebContents* web_contents) {
|
||||
|
||||
@@ -10,7 +10,10 @@ class InspectableWebContentsView;
|
||||
class InspectableWebContents {
|
||||
public:
|
||||
static InspectableWebContents* Create(const content::WebContents::CreateParams&);
|
||||
|
||||
// The returned InspectableWebContents takes ownership of the passed-in WebContents.
|
||||
static InspectableWebContents* Create(content::WebContents*);
|
||||
|
||||
virtual ~InspectableWebContents() {}
|
||||
|
||||
virtual InspectableWebContentsView* GetView() const = 0;
|
||||
|
||||
Reference in New Issue
Block a user