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

Unified Diff: Source/core/rendering/RenderMediaControlElements.cpp

Issue 146023008: Add layout states to DocumentLifecycle state machine (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Whitelist one more transition' Created 6 years, 10 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/core/rendering/RenderLayerCompositor.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderMediaControlElements.cpp
diff --git a/Source/core/rendering/RenderMediaControlElements.cpp b/Source/core/rendering/RenderMediaControlElements.cpp
index da2babc48d5a235eba1d158a360356f7d771c634..aded585e917136ae81ec799939d2788f051865ee 100644
--- a/Source/core/rendering/RenderMediaControlElements.cpp
+++ b/Source/core/rendering/RenderMediaControlElements.cpp
@@ -29,6 +29,7 @@
#include "core/rendering/RenderMediaControlElements.h"
+#include "core/frame/DeprecatedScheduleStyleRecalcDuringLayout.h"
#include "core/rendering/LayoutRectRecorder.h"
#include "core/rendering/RenderView.h"
@@ -48,10 +49,10 @@ void RenderTextTrackContainerElement::layout()
ASSERT(mediaControlElementType(node()) == MediaTextTrackDisplayContainer);
+ DeprecatedScheduleStyleRecalcDuringLayout marker(node()->document().lifecycle());
+
LayoutStateDisabler layoutStateDisabler(view());
static_cast<MediaControlTextTrackContainerElement*>(node())->updateSizes();
}
-
} // namespace WebCore
-
« no previous file with comments | « Source/core/rendering/RenderLayerCompositor.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698