| Index: third_party/WebKit/Source/core/dom/Fullscreen.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Fullscreen.cpp b/third_party/WebKit/Source/core/dom/Fullscreen.cpp
|
| index 9c124101037fbd3ff7c15d643bf029d91705330e..73b3d199860ab1a107257c1c471eb68091eeaa22 100644
|
| --- a/third_party/WebKit/Source/core/dom/Fullscreen.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Fullscreen.cpp
|
| @@ -87,8 +87,11 @@ bool allowedToRequestFullscreen(Document& document) {
|
| return true;
|
|
|
| // The algorithm is triggered by a user generated orientation change.
|
| - if (ScopedOrientationChangeIndicator::processingOrientationChange())
|
| + if (ScopedOrientationChangeIndicator::processingOrientationChange()) {
|
| + UseCounter::count(document,
|
| + UseCounter::FullscreenAllowedByOrientationChange);
|
| return true;
|
| + }
|
|
|
| String message = ExceptionMessages::failedToExecute(
|
| "requestFullscreen", "Element",
|
|
|