| Index: Source/core/rendering/RenderObject.h
|
| diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h
|
| index 9442b2b35eb08eb8e2a16903012350144519f593..5c753e77d87d6c4dcd5802223f84e06f290bd801 100644
|
| --- a/Source/core/rendering/RenderObject.h
|
| +++ b/Source/core/rendering/RenderObject.h
|
| @@ -32,6 +32,7 @@
|
| #include "core/editing/TextAffinity.h"
|
| #include "core/fetch/ImageResourceClient.h"
|
| #include "core/html/HTMLElement.h"
|
| +#include "core/inspector/InspectorTraceEvents.h"
|
| #include "core/rendering/HitTestRequest.h"
|
| #include "core/rendering/PaintInvalidationState.h"
|
| #include "core/rendering/PaintPhase.h"
|
| @@ -1409,6 +1410,11 @@ inline bool RenderObject::isBeforeOrAfterContent() const
|
| // setNeedsLayoutAndFullPaintInvalidation() does. Otherwise the two methods are identical.
|
| inline void RenderObject::setNeedsLayout(MarkingBehavior markParents, SubtreeLayoutScope* layouter)
|
| {
|
| + TRACE_EVENT_INSTANT1(
|
| + TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidationTracking"),
|
| + "LayoutInvalidationTracking",
|
| + "data",
|
| + InspectorLayoutInvalidationTrackingEvent::data(this));
|
| ASSERT(!isSetNeedsLayoutForbidden());
|
| bool alreadyNeededLayout = m_bitfields.selfNeedsLayout();
|
| setSelfNeedsLayout(true);
|
|
|