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

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

Issue 336313015: Remove the webkitallowfullscreen content attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix quirks mode test Created 6 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
Index: Source/core/dom/FullscreenElementStack.cpp
diff --git a/Source/core/dom/FullscreenElementStack.cpp b/Source/core/dom/FullscreenElementStack.cpp
index cdee89472c55a09a96684eb1ceef9efa67de884c..d153ed3d1dd4a2d29b7c9fa328098d5d350f7cf1 100644
--- a/Source/core/dom/FullscreenElementStack.cpp
+++ b/Source/core/dom/FullscreenElementStack.cpp
@@ -52,12 +52,8 @@ static bool fullscreenIsAllowedForAllOwners(const Document& document)
do {
if (!isHTMLIFrameElement(owner))
return false;
- if (!owner->hasAttribute(allowfullscreenAttr)) {
- if (owner->hasAttribute(webkitallowfullscreenAttr))
- UseCounter::count(document, UseCounter::PrefixedAllowFullscreenAttribute);
- else
- return false;
- }
+ if (!owner->hasAttribute(allowfullscreenAttr))
+ return false;
} while ((owner = owner->document().ownerElement()));
return true;
}

Powered by Google App Engine
This is Rietveld 408576698