| Index: extensions/browser/guest_view/app_view/app_view_guest.cc
|
| diff --git a/extensions/browser/guest_view/app_view/app_view_guest.cc b/extensions/browser/guest_view/app_view/app_view_guest.cc
|
| index 206a45b0e2dd1eea742799495e34247378662309..64bcd906eee20357c1cd13cbabb722d4130cbe27 100644
|
| --- a/extensions/browser/guest_view/app_view/app_view_guest.cc
|
| +++ b/extensions/browser/guest_view/app_view/app_view_guest.cc
|
| @@ -96,14 +96,14 @@ bool AppViewGuest::CompletePendingRequest(
|
| }
|
|
|
| // static
|
| -GuestViewBase* AppViewGuest::Create(content::WebContents* owner_web_contents) {
|
| +GuestViewBase* AppViewGuest::Create(WebContents* owner_web_contents) {
|
| return new AppViewGuest(owner_web_contents);
|
| }
|
|
|
| -AppViewGuest::AppViewGuest(content::WebContents* owner_web_contents)
|
| +AppViewGuest::AppViewGuest(WebContents* owner_web_contents)
|
| : GuestView<AppViewGuest>(owner_web_contents),
|
| - app_view_guest_delegate_(
|
| - ExtensionsAPIClient::Get()->CreateAppViewGuestDelegate()),
|
| + app_view_guest_delegate_(ExtensionsAPIClient::Get()
|
| + ->CreateAppViewGuestDelegate()),
|
| weak_ptr_factory_(this) {
|
| if (app_view_guest_delegate_)
|
| app_delegate_.reset(app_view_guest_delegate_->CreateAppDelegate());
|
| @@ -120,7 +120,7 @@ bool AppViewGuest::HandleContextMenu(const content::ContextMenuParams& params) {
|
| }
|
|
|
| void AppViewGuest::RequestMediaAccessPermission(
|
| - content::WebContents* web_contents,
|
| + WebContents* web_contents,
|
| const content::MediaStreamRequest& request,
|
| const content::MediaResponseCallback& callback) {
|
| if (!app_delegate_) {
|
| @@ -137,10 +137,9 @@ void AppViewGuest::RequestMediaAccessPermission(
|
| guest_extension);
|
| }
|
|
|
| -bool AppViewGuest::CheckMediaAccessPermission(
|
| - content::WebContents* web_contents,
|
| - const GURL& security_origin,
|
| - content::MediaStreamType type) {
|
| +bool AppViewGuest::CheckMediaAccessPermission(WebContents* web_contents,
|
| + const GURL& security_origin,
|
| + content::MediaStreamType type) {
|
| if (!app_delegate_) {
|
| return WebContentsDelegate::CheckMediaAccessPermission(
|
| web_contents, security_origin, type);
|
|
|