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

Unified Diff: Source/web/FullscreenController.cpp

Issue 647343003: Fix crash with fullscreen elements inside frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add tests Created 6 years, 2 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/web/FullscreenController.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/FullscreenController.cpp
diff --git a/Source/web/FullscreenController.cpp b/Source/web/FullscreenController.cpp
index e16af27be5dd23f69bd324e115ca684d1abf0c3a..ccd6f8142e816734e8057aeeca956d290730b136 100644
--- a/Source/web/FullscreenController.cpp
+++ b/Source/web/FullscreenController.cpp
@@ -158,6 +158,14 @@ void FullscreenController::exitFullScreenForElement(Element* element)
client->exitFullScreen();
}
+void FullscreenController::updateSize()
+{
+ if (!isFullscreen())
+ return;
+
trchen 2014/10/14 23:48:40 ASSERT(Fullscreen::from(*m_fullScreenFrame->docume
+ Fullscreen::from(*m_fullScreenFrame->document()).fullScreenRenderer()->updateStyle();
+}
+
void FullscreenController::trace(Visitor* visitor)
{
visitor->trace(m_provisionalFullScreenElement);
« no previous file with comments | « Source/web/FullscreenController.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698