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

Unified Diff: third_party/WebKit/Source/core/inspector/AsyncCallChain.h

Issue 1377813002: Oilpan: fix build after r351269. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use a WeakPersistent<InjectedScriptManager> instead Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/AsyncCallChain.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/AsyncCallChain.h
diff --git a/third_party/WebKit/Source/core/inspector/AsyncCallChain.h b/third_party/WebKit/Source/core/inspector/AsyncCallChain.h
index ef3dd35b62506d969d8eef0d8e265eb9457aae64..17d91ff4b2834a7d57291b7d54215c5c57a063b6 100644
--- a/third_party/WebKit/Source/core/inspector/AsyncCallChain.h
+++ b/third_party/WebKit/Source/core/inspector/AsyncCallChain.h
@@ -5,19 +5,19 @@
#ifndef AsyncCallChain_h
#define AsyncCallChain_h
-#include "platform/heap/Handle.h"
#include "wtf/Deque.h"
#include "wtf/Forward.h"
#include "wtf/RefCounted.h"
+#include "wtf/text/WTFString.h"
#include <v8.h>
namespace blink {
-class AsyncCallStack final : public RefCountedWillBeGarbageCollectedFinalized<AsyncCallStack> {
+class AsyncCallStack final : public RefCounted<AsyncCallStack> {
public:
AsyncCallStack(const String&, v8::Local<v8::Object>);
~AsyncCallStack();
- DEFINE_INLINE_TRACE() { }
+
String description() const { return m_description; }
v8::Local<v8::Object> callFrames(v8::Isolate* isolate) const { return v8::Local<v8::Object>::New(isolate, m_callFrames); }
private:
@@ -25,17 +25,16 @@ private:
v8::Global<v8::Object> m_callFrames;
};
-using AsyncCallStackVector = WillBeHeapDeque<RefPtrWillBeMember<AsyncCallStack>, 4>;
+using AsyncCallStackVector = Deque<RefPtr<AsyncCallStack>, 4>;
-class AsyncCallChain final : public RefCountedWillBeGarbageCollectedFinalized<AsyncCallChain> {
+class AsyncCallChain final : public RefCounted<AsyncCallChain> {
public:
- static PassRefPtrWillBeRawPtr<AsyncCallChain> create(PassRefPtrWillBeRawPtr<AsyncCallStack>, AsyncCallChain* prevChain, unsigned asyncCallChainMaxLength);
+ static PassRefPtr<AsyncCallChain> create(PassRefPtr<AsyncCallStack>, AsyncCallChain* prevChain, unsigned asyncCallChainMaxLength);
~AsyncCallChain();
const AsyncCallStackVector& callStacks() const { return m_callStacks; }
- DECLARE_TRACE();
private:
- AsyncCallChain(PassRefPtrWillBeRawPtr<AsyncCallStack>, AsyncCallChain* prevChain, unsigned asyncCallChainMaxLength);
+ AsyncCallChain(PassRefPtr<AsyncCallStack>, AsyncCallChain* prevChain, unsigned asyncCallChainMaxLength);
AsyncCallStackVector m_callStacks;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/AsyncCallChain.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698