Index: third_party/WebKit/Source/core/timing/PerformanceObserver.h |
diff --git a/third_party/WebKit/Source/core/timing/PerformanceObserver.h b/third_party/WebKit/Source/core/timing/PerformanceObserver.h |
index 7104487ccd6c8a7a5a63068159188c566900b5a2..fd13c40da2e1f492434e907f4d5e2e2f7661da92 100644 |
--- a/third_party/WebKit/Source/core/timing/PerformanceObserver.h |
+++ b/third_party/WebKit/Source/core/timing/PerformanceObserver.h |
@@ -8,6 +8,11 @@ |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "core/timing/PerformanceEntry.h" |
#include "platform/heap/Handle.h" |
+#include "wtf/HashSet.h" |
sof
2016/04/26 11:07:39
oops, these unused ones were mistakenly re-added h
|
+#include "wtf/PassOwnPtr.h" |
+#include "wtf/PassRefPtr.h" |
+#include "wtf/RefCounted.h" |
+#include "wtf/RefPtr.h" |
#include "wtf/Vector.h" |
namespace blink { |
@@ -20,22 +25,18 @@ class PerformanceObserverInit; |
using PerformanceEntryVector = HeapVector<Member<PerformanceEntry>>; |
-class PerformanceObserver final : public GarbageCollectedFinalized<PerformanceObserver>, public ScriptWrappable { |
+class PerformanceObserver final : public GarbageCollected<PerformanceObserver>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
friend class PerformanceBase; |
public: |
static PerformanceObserver* create(PerformanceBase*, PerformanceObserverCallback*); |
static void resumeSuspendedObservers(); |
- ~PerformanceObserver(); |
- |
void observe(const PerformanceObserverInit&, ExceptionState&); |
void disconnect(); |
void enqueuePerformanceEntry(PerformanceEntry&); |
PerformanceEntryTypeMask filterOptions() const { return m_filterOptions; } |
- // Eagerly finalized as destructor accesses heap object members. |
- EAGERLY_FINALIZE(); |
DECLARE_TRACE(); |
private: |