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

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

Issue 335963002: Change LayoutState to be stack-allocated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix assert Created 6 years, 6 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: Source/core/rendering/RenderVTTCue.cpp
diff --git a/Source/core/rendering/RenderVTTCue.cpp b/Source/core/rendering/RenderVTTCue.cpp
index 0393e1c39d03972e3c7ab55bf178fafdd3255741..a74189f9fd7eaae5f2d7f391de631783cb885e98 100644
--- a/Source/core/rendering/RenderVTTCue.cpp
+++ b/Source/core/rendering/RenderVTTCue.cpp
@@ -48,7 +48,7 @@ void RenderVTTCue::layout()
if (!m_cue->regionId().isEmpty())
return;
- LayoutStateMaintainer statePusher(*this, locationOffset());
+ LayoutState statePusher(*this, locationOffset());
if (m_cue->snapToLines())
repositionCueSnapToLinesSet();

Powered by Google App Engine
This is Rietveld 408576698