| Index: third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp
|
| index 7d74996e349af212c55a4e1695b598aa0b87ded6..24884e41a3308b152cf79c1cd973032db818a73c 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp
|
| @@ -30,6 +30,7 @@
|
| #include "core/svg/SVGElement.h"
|
| #include "core/svg/SVGLengthContext.h"
|
| #include "core/svg/SVGTextContentElement.h"
|
| +#include "wtf/AutoReset.h"
|
|
|
| namespace blink {
|
|
|
| @@ -239,7 +240,7 @@ static bool definesTextLengthWithSpacing(const InlineFlowBox* start)
|
| void SVGTextLayoutEngine::layoutCharactersInTextBoxes(InlineFlowBox* start)
|
| {
|
| bool textLengthSpacingInEffect = m_textLengthSpacingInEffect || definesTextLengthWithSpacing(start);
|
| - TemporaryChange<bool> textLengthSpacingScope(m_textLengthSpacingInEffect, textLengthSpacingInEffect);
|
| + AutoReset<bool> textLengthSpacingScope(&m_textLengthSpacingInEffect, textLengthSpacingInEffect);
|
|
|
| for (InlineBox* child = start->firstChild(); child; child = child->nextOnLine()) {
|
| if (child->isSVGInlineTextBox()) {
|
|
|