refactor: make InitWithWebContents
and InspectableWebContents
take a unique_ptr
(#30920)
* refactor: make InitWithWebContents take a unique_ptr Signed-off-by: Darshan Sen <darshan.sen@postman.com> * refactor: make InspectableWebContents take a unique_ptr Signed-off-by: Darshan Sen <darshan.sen@postman.com>
This commit is contained in:
parent
6fdf350bea
commit
efa70131e2
4 changed files with 20 additions and 20 deletions
|
@ -44,7 +44,7 @@ class InspectableWebContents
|
|||
static const List& GetAll();
|
||||
static void RegisterPrefs(PrefRegistrySimple* pref_registry);
|
||||
|
||||
InspectableWebContents(content::WebContents* web_contents,
|
||||
InspectableWebContents(std::unique_ptr<content::WebContents> web_contents,
|
||||
PrefService* pref_service,
|
||||
bool is_guest);
|
||||
~InspectableWebContents() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue