| Index: Source/core/inspector/InspectorTraceEvents.cpp
|
| diff --git a/Source/core/inspector/InspectorTraceEvents.cpp b/Source/core/inspector/InspectorTraceEvents.cpp
|
| index bbc5ca8388989eadb651af5641f7a17bcded07f2..fa7dee469c057aa96f07e5642741e3d0b74188eb 100644
|
| --- a/Source/core/inspector/InspectorTraceEvents.cpp
|
| +++ b/Source/core/inspector/InspectorTraceEvents.cpp
|
| @@ -8,7 +8,6 @@
|
| #include "bindings/core/v8/ScriptCallStackFactory.h"
|
| #include "bindings/core/v8/ScriptGCEvent.h"
|
| #include "bindings/core/v8/ScriptSourceCode.h"
|
| -#include "core/css/invalidation/DescendantInvalidationSet.h"
|
| #include "core/dom/StyleChangeReason.h"
|
| #include "core/events/Event.h"
|
| #include "core/frame/FrameView.h"
|
| @@ -67,45 +66,6 @@
|
|
|
| }
|
|
|
| -const char InspectorStyleInvalidatorInvalidateEvent::ElementHasPendingInvalidationList[] = "Element has pending invalidation list";
|
| -const char InspectorStyleInvalidatorInvalidateEvent::InvalidateCustomPseudo[] = "Invalidate custom pseudo element.";
|
| -const char InspectorStyleInvalidatorInvalidateEvent::InvalidationSetMatchedAttribute[] = "Invalidation set matched attribute.";
|
| -const char InspectorStyleInvalidatorInvalidateEvent::InvalidationSetMatchedClass[] = "Invalidation set matched class.";
|
| -const char InspectorStyleInvalidatorInvalidateEvent::InvalidationSetMatchedId[] = "Invalidation set matched id.";
|
| -const char InspectorStyleInvalidatorInvalidateEvent::InvalidationSetMatchedTagName[] = "Invalidation set matched tagName.";
|
| -const char InspectorStyleInvalidatorInvalidateEvent::PreventStyleSharingForParent[] = "Prevent style sharing for parent.";
|
| -
|
| -PassRefPtr<TracedValue> InspectorStyleInvalidatorInvalidateEvent::fillCommonPart(Element& element, const char* reason)
|
| -{
|
| - RefPtr<TracedValue> value = TracedValue::create();
|
| - value->setString("frame", toHexString(element.document().frame()));
|
| - setNodeInfo(value.get(), &element, "nodeId", "nodeName");
|
| - value->setString("reason", reason);
|
| - return value.release();
|
| -}
|
| -
|
| -PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorStyleInvalidatorInvalidateEvent::data(Element& element, const char* reason)
|
| -{
|
| - return fillCommonPart(element, reason);
|
| -}
|
| -
|
| -PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorStyleInvalidatorInvalidateEvent::selectorPart(Element& element, const char* reason, const String& selectorPart)
|
| -{
|
| - RefPtr<TracedValue> value = fillCommonPart(element, reason);
|
| - value->setString("selectorPart", selectorPart);
|
| - return value.release();
|
| -}
|
| -
|
| -PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorStyleInvalidatorInvalidateEvent::invalidationList(Element& element, const WillBeHeapVector<RefPtrWillBeMember<DescendantInvalidationSet> >& invalidationList)
|
| -{
|
| - RefPtr<TracedValue> value = fillCommonPart(element, ElementHasPendingInvalidationList);
|
| - value->beginArray("invalidationList");
|
| - for (const auto& invalidationSet : invalidationList)
|
| - invalidationSet->toTracedValue(value.get());
|
| - value->endArray();
|
| - return value.release();
|
| -}
|
| -
|
| PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorStyleRecalcInvalidationTrackingEvent::data(Node* node, const StyleChangeReasonForTracing& reason)
|
| {
|
| ASSERT(node);
|
|
|