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

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 push function to match old behavior... 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..349e98ad6984475bb22ca390d038b1f28e55c888 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 state(*this, locationOffset());
if (m_cue->snapToLines())
repositionCueSnapToLinesSet();

Powered by Google App Engine
This is Rietveld 408576698