| Index: third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp b/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp
|
| index 6b388d21df241b817ea93ed19da3f65ed6dbe7b2..9c9aea52769ff2a50ad2b674e418d4380d83e178 100644
|
| --- a/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp
|
| @@ -36,6 +36,7 @@
|
| #include "core/layout/LayoutImage.h"
|
| #include "platform/LengthFunctions.h"
|
| #include "public/platform/Platform.h"
|
| +#include "wtf/AutoReset.h"
|
| #include <memory>
|
|
|
| namespace blink {
|
| @@ -145,7 +146,7 @@ const Shape& ShapeOutsideInfo::computedShape() const
|
| if (Shape* shape = m_shape.get())
|
| return *shape;
|
|
|
| - TemporaryChange<bool> isInComputingShape(m_isComputingShape, true);
|
| + AutoReset<bool> isInComputingShape(&m_isComputingShape, true);
|
|
|
| const ComputedStyle& style = *m_layoutBox.style();
|
| ASSERT(m_layoutBox.containingBlock());
|
|
|