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

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

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
Index: third_party/WebKit/Source/core/inspector/AsyncCallChain.cpp
diff --git a/third_party/WebKit/Source/core/inspector/AsyncCallChain.cpp b/third_party/WebKit/Source/core/inspector/AsyncCallChain.cpp
index 10dbc99f1995869094fbc859c9e228f922dc17ba..0a67c78b8ba1f792b78aa4a2699b1c394cada6b6 100644
--- a/third_party/WebKit/Source/core/inspector/AsyncCallChain.cpp
+++ b/third_party/WebKit/Source/core/inspector/AsyncCallChain.cpp
@@ -9,11 +9,6 @@
namespace blink {
-DEFINE_TRACE(AsyncCallChain)
-{
- visitor->trace(m_callStacks);
-}
-
AsyncCallStack::AsyncCallStack(const String& description, v8::Local<v8::Object> callFrames)
: m_description(description)
, m_callFrames(callFrames->GetIsolate(), callFrames)
@@ -24,12 +19,12 @@ AsyncCallStack::~AsyncCallStack()
{
}
-PassRefPtrWillBeRawPtr<AsyncCallChain> AsyncCallChain::create(PassRefPtrWillBeRawPtr<AsyncCallStack> stack, AsyncCallChain* prevChain, unsigned asyncCallChainMaxLength)
+PassRefPtr<AsyncCallChain> AsyncCallChain::create(PassRefPtr<AsyncCallStack> stack, AsyncCallChain* prevChain, unsigned asyncCallChainMaxLength)
{
- return adoptRefWillBeNoop(new AsyncCallChain(stack, prevChain, asyncCallChainMaxLength));
+ return adoptRef(new AsyncCallChain(stack, prevChain, asyncCallChainMaxLength));
}
-AsyncCallChain::AsyncCallChain(PassRefPtrWillBeRawPtr<AsyncCallStack> stack, AsyncCallChain* prevChain, unsigned asyncCallChainMaxLength)
+AsyncCallChain::AsyncCallChain(PassRefPtr<AsyncCallStack> stack, AsyncCallChain* prevChain, unsigned asyncCallChainMaxLength)
{
if (stack)
m_callStacks.append(stack);
« no previous file with comments | « third_party/WebKit/Source/core/inspector/AsyncCallChain.h ('k') | third_party/WebKit/Source/core/inspector/AsyncCallTracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698