💄
This commit is contained in:
parent
082aa61870
commit
a5e1c46674
2 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue