| Index: content/public/browser/screen_orientation_provider.cc
|
| diff --git a/content/public/browser/screen_orientation_provider.cc b/content/public/browser/screen_orientation_provider.cc
|
| index e50be45c7e0aefb4fc0d7aa6cc92541fd744c116..f932cf4196fe32e8f1ffc24f63c526b303df8e81 100644
|
| --- a/content/public/browser/screen_orientation_provider.cc
|
| +++ b/content/public/browser/screen_orientation_provider.cc
|
| @@ -52,7 +52,7 @@ void ScreenOrientationProvider::LockOrientation(int request_id,
|
| return;
|
| }
|
| if (!static_cast<WebContentsImpl*>(web_contents())
|
| - ->IsFullscreenForCurrentTab(rvhi->GetWidget())) {
|
| + ->IsFullscreenForCurrentTab()) {
|
| dispatcher_->NotifyLockError(request_id,
|
| blink::WebLockOrientationErrorFullScreenRequired);
|
| return;
|
|
|