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()); |