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

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

Issue 1058783006: Remove the allowfullscreen exemption for the video-specific fullscreen API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: consistent quotes Created 5 years, 8 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 | « Source/core/dom/Fullscreen.h ('k') | Source/core/html/HTMLMediaElement.h » ('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 645d34429e535476ac881ec4e0e52d0ae8736ba2..bb1936cb4420fe91eefbbcd2f9ca1fda2c784fa8 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)
+ if (requestType == Fullscreen::InternalVideoRequest)
UseCounter::count(element.document(), UseCounter::VideoFullscreenAllowedExemption);
else
return false;
« no previous file with comments | « Source/core/dom/Fullscreen.h ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698