Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(482)

Unified Diff: Source/core/dom/Fullscreen.cpp

Issue 1165013002: Deprecate the allowfullscreen exemption for <video> (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fullscreen/full-screen-iframe-legacy-expected.txt ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Fullscreen.cpp
diff --git a/Source/core/dom/Fullscreen.cpp b/Source/core/dom/Fullscreen.cpp
index 4a59655a5a8715c82810724412b401e3733a73ca..8bab9eddd3ffbbc4ad12edb08f92692f754b6cb0 100644
--- a/Source/core/dom/Fullscreen.cpp
+++ b/Source/core/dom/Fullscreen.cpp
@@ -78,7 +78,7 @@ static bool fullscreenElementReady(const Element& element, Fullscreen::RequestTy
// |element|'s node document's fullscreen enabled flag is set.
if (!fullscreenIsAllowedForAllOwners(element.document())) {
if (requestType == Fullscreen::PrefixedVideoRequest)
- UseCounter::count(element.document(), UseCounter::VideoFullscreenAllowedExemption);
+ UseCounter::countDeprecation(element.document(), UseCounter::VideoFullscreenAllowedExemption);
else
return false;
}
« no previous file with comments | « LayoutTests/fullscreen/full-screen-iframe-legacy-expected.txt ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698