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

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

Issue 2864723002: Enable Feature policy without experimental features or fullscreen (Closed)
Patch Set: Update layout test expectations Created 3 years, 7 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: 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 f0e48fbf779f72f15e131b0357344568cdd7f096..28f4f000de91f1dd759aeb48a0415c6b54d91876 100644
--- a/third_party/WebKit/Source/core/dom/Fullscreen.cpp
+++ b/third_party/WebKit/Source/core/dom/Fullscreen.cpp
@@ -63,7 +63,7 @@ bool AllowedToUseFullscreen(const Frame* frame) {
if (!frame)
return false;
- if (!RuntimeEnabledFeatures::featurePolicyEnabled()) {
+ if (!RuntimeEnabledFeatures::fullscreenInFeaturePolicyEnabled()) {
// 2. If |document|'s browsing context is a top-level browsing context, then
// return true.
if (frame->IsMainFrame())

Powered by Google App Engine
This is Rietveld 408576698