| Index: Source/core/rendering/LayoutRectRecorder.cpp
|
| diff --git a/Source/core/rendering/LayoutRectRecorder.cpp b/Source/core/rendering/LayoutRectRecorder.cpp
|
| index c2a13bb4eac14c7f712fac2d670aa28a39e87246..b62eef753d1bf39ac02a26ac6bfb58301d3efc42 100644
|
| --- a/Source/core/rendering/LayoutRectRecorder.cpp
|
| +++ b/Source/core/rendering/LayoutRectRecorder.cpp
|
| @@ -42,13 +42,13 @@ bool LayoutRectRecorder::shouldRecordLayoutRects()
|
| return RuntimeEnabledFeatures::repaintAfterLayoutEnabled() || isTracing;
|
| }
|
|
|
| -LayoutRectRecorder::LayoutRectRecorder(RenderObject& object, bool skipRecording)
|
| +LayoutRectRecorder::LayoutRectRecorder(RenderObject& object, bool record)
|
| : m_object(object)
|
| - , m_skipRecording(skipRecording)
|
| + , m_record(record)
|
| {
|
| if (!shouldRecordLayoutRects())
|
| return;
|
| - if (m_skipRecording)
|
| + if (!m_record)
|
| return;
|
|
|
| if (!m_object.layoutDidGetCalled()) {
|
| @@ -72,7 +72,7 @@ LayoutRectRecorder::~LayoutRectRecorder()
|
| {
|
| if (!shouldRecordLayoutRects())
|
| return;
|
| - if (m_skipRecording)
|
| + if (!m_record)
|
| return;
|
|
|
| // Note, we don't store the repaint container because it can change during layout.
|
|
|