Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorTraceEvents.h

Issue 1389333003: Do not keep InvalidationSets on the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef InspectorTraceEvents_h 5 #ifndef InspectorTraceEvents_h
6 #define InspectorTraceEvents_h 6 #define InspectorTraceEvents_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/css/CSSSelector.h" 9 #include "core/css/CSSSelector.h"
10 #include "platform/EventTracer.h" 10 #include "platform/EventTracer.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 extern const char ElementHasPendingInvalidationList[]; 83 extern const char ElementHasPendingInvalidationList[];
84 extern const char InvalidateCustomPseudo[]; 84 extern const char InvalidateCustomPseudo[];
85 extern const char InvalidationSetMatchedAttribute[]; 85 extern const char InvalidationSetMatchedAttribute[];
86 extern const char InvalidationSetMatchedClass[]; 86 extern const char InvalidationSetMatchedClass[];
87 extern const char InvalidationSetMatchedId[]; 87 extern const char InvalidationSetMatchedId[];
88 extern const char InvalidationSetMatchedTagName[]; 88 extern const char InvalidationSetMatchedTagName[];
89 extern const char PreventStyleSharingForParent[]; 89 extern const char PreventStyleSharingForParent[];
90 90
91 PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(Element&, const char* reas on); 91 PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(Element&, const char* reas on);
92 PassRefPtr<TraceEvent::ConvertableToTraceFormat> selectorPart(Element&, const ch ar* reason, const InvalidationSet&, const String&); 92 PassRefPtr<TraceEvent::ConvertableToTraceFormat> selectorPart(Element&, const ch ar* reason, const InvalidationSet&, const String&);
93 PassRefPtr<TraceEvent::ConvertableToTraceFormat> invalidationList(Element&, cons t WillBeHeapVector<RefPtrWillBeMember<InvalidationSet>>&); 93 PassRefPtr<TraceEvent::ConvertableToTraceFormat> invalidationList(Element&, cons t Vector<RefPtr<InvalidationSet>>&);
94 } 94 }
95 95
96 #define TRACE_STYLE_INVALIDATOR_INVALIDATION(element, reason) \ 96 #define TRACE_STYLE_INVALIDATOR_INVALIDATION(element, reason) \
97 TRACE_EVENT_INSTANT1( \ 97 TRACE_EVENT_INSTANT1( \
98 TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidationTracking"), \ 98 TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidationTracking"), \
99 "StyleInvalidatorInvalidationTracking", \ 99 "StyleInvalidatorInvalidationTracking", \
100 TRACE_EVENT_SCOPE_THREAD, \ 100 TRACE_EVENT_SCOPE_THREAD, \
101 "data", \ 101 "data", \
102 InspectorStyleInvalidatorInvalidateEvent::data((element), (InspectorStyl eInvalidatorInvalidateEvent::reason))) 102 InspectorStyleInvalidatorInvalidateEvent::data((element), (InspectorStyl eInvalidatorInvalidateEvent::reason)))
103 103
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 PassRefPtr<TraceEvent::ConvertableToTraceFormat> endData(const HitTestRequest&, const HitTestLocation&, const HitTestResult&); 325 PassRefPtr<TraceEvent::ConvertableToTraceFormat> endData(const HitTestRequest&, const HitTestLocation&, const HitTestResult&);
326 } 326 }
327 327
328 CORE_EXPORT String toHexString(const void* p); 328 CORE_EXPORT String toHexString(const void* p);
329 CORE_EXPORT void setCallStack(TracedValue*); 329 CORE_EXPORT void setCallStack(TracedValue*);
330 330
331 } // namespace blink 331 } // namespace blink
332 332
333 333
334 #endif // !defined(InspectorTraceEvents_h) 334 #endif // !defined(InspectorTraceEvents_h)
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleEngine.cpp ('k') | third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698