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

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

Issue 1237133002: Remove the allowfullscreen exemption for the video-specific fullscreen API (reland) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/frame/UseCounter.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 8bab9eddd3ffbbc4ad12edb08f92692f754b6cb0..19116b0f0f096bcdbd0c8ee6b0cb7f4e7a20c032 100644
--- a/Source/core/dom/Fullscreen.cpp
+++ b/Source/core/dom/Fullscreen.cpp
@@ -76,12 +76,8 @@ static bool fullscreenElementReady(const Element& element, Fullscreen::RequestTy
return false;
// |element|'s node document's fullscreen enabled flag is set.
- if (!fullscreenIsAllowedForAllOwners(element.document())) {
- if (requestType == Fullscreen::PrefixedVideoRequest)
- UseCounter::countDeprecation(element.document(), UseCounter::VideoFullscreenAllowedExemption);
- else
- return false;
- }
+ if (!fullscreenIsAllowedForAllOwners(element.document()))
+ return false;
// |element|'s node document's fullscreen element stack is either empty or its top element is an
// inclusive ancestor of |element|.
« no previous file with comments | « Source/core/dom/Fullscreen.h ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698