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

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

Issue 1807033003: Rewrite how RemoteFrameOwners retain life. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 b2977f4ca9ef268043083d4ebc3a668d67cfd40c..07d7ca20a71871b99dfa0c71f6fd9142a103dc62 100644
--- a/third_party/WebKit/Source/core/dom/Fullscreen.cpp
+++ b/third_party/WebKit/Source/core/dom/Fullscreen.cpp
@@ -59,7 +59,7 @@ static bool fullscreenIsAllowedForAllOwners(const Document& document)
// TODO(alexmos): The allowfullscreen attribute will need to be
// replicated for this to work with OOPIFs. For now, deny fullscreen
// access inside OOPIFs until https://crbug.com/550497 is fixed.
- if (!frame->owner()->isLocal())
+ if (frame->owner()->isRemote())
return false;
HTMLFrameOwnerElement* owner = toHTMLFrameOwnerElement(frame->owner());
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameOwner.h » ('j') | third_party/WebKit/Source/core/frame/FrameOwner.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698