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

Unified Diff: Source/core/inspector/InspectorDebuggerAgent.cpp

Issue 1156463003: Oilpan: fix build after r196422. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: InspectorDebuggerAgent fixes Created 5 years, 7 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 | « Source/core/inspector/InspectorDebuggerAgent.h ('k') | Source/core/inspector/JavaScriptCallFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorDebuggerAgent.cpp
diff --git a/Source/core/inspector/InspectorDebuggerAgent.cpp b/Source/core/inspector/InspectorDebuggerAgent.cpp
index f020d0c1bd3d715d5d3814490baa65a9acd1b052..22d2344c2fcd16188728aefbb93753c3243ab929 100644
--- a/Source/core/inspector/InspectorDebuggerAgent.cpp
+++ b/Source/core/inspector/InspectorDebuggerAgent.cpp
@@ -133,7 +133,7 @@ static PassRefPtrWillBeRawPtr<ScriptCallStack> toScriptCallStack(JavaScriptCallF
static PassRefPtrWillBeRawPtr<ScriptCallStack> toScriptCallStack(const ScriptValue& callFrames)
{
- RefPtrWillBeRawPtr<JavaScriptCallFrame> jsCallFrame = V8Debugger::toJavaScriptCallFrameUnsafe(callFrames);
+ RefPtr<JavaScriptCallFrame> jsCallFrame = V8Debugger::toJavaScriptCallFrameUnsafe(callFrames);
return jsCallFrame ? toScriptCallStack(jsCallFrame.get()) : nullptr;
}
@@ -488,7 +488,7 @@ bool InspectorDebuggerAgent::isCallStackEmptyOrBlackboxed()
{
ASSERT(enabled());
for (int index = 0; ; ++index) {
- RefPtrWillBeRawPtr<JavaScriptCallFrame> frame = debugger().callFrameNoScopes(index);
+ RefPtr<JavaScriptCallFrame> frame = debugger().callFrameNoScopes(index);
if (!frame)
break;
if (!isCallFrameWithUnknownScriptOrBlackboxed(frame.release()))
@@ -503,9 +503,9 @@ bool InspectorDebuggerAgent::isTopCallFrameBlackboxed()
return isCallFrameWithUnknownScriptOrBlackboxed(debugger().callFrameNoScopes(0));
}
-bool InspectorDebuggerAgent::isCallFrameWithUnknownScriptOrBlackboxed(PassRefPtrWillBeRawPtr<JavaScriptCallFrame> pFrame)
+bool InspectorDebuggerAgent::isCallFrameWithUnknownScriptOrBlackboxed(PassRefPtr<JavaScriptCallFrame> pFrame)
{
- RefPtrWillBeRawPtr<JavaScriptCallFrame> frame = pFrame;
+ RefPtr<JavaScriptCallFrame> frame = pFrame;
if (!frame)
return true;
ScriptsMap::iterator it = m_scripts.find(String::number(frame->sourceID()));
@@ -797,7 +797,7 @@ void InspectorDebuggerAgent::stepOver(ErrorString* errorString)
if (!assertPaused(errorString))
return;
// StepOver at function return point should fallback to StepInto.
- RefPtrWillBeRawPtr<JavaScriptCallFrame> frame = debugger().callFrameNoScopes(0);
+ RefPtr<JavaScriptCallFrame> frame = debugger().callFrameNoScopes(0);
if (frame && frame->isAtReturn()) {
stepInto(errorString);
return;
@@ -1456,7 +1456,7 @@ PassRefPtrWillBeRawPtr<ScriptAsyncCallStack> InspectorDebuggerAgent::currentAsyn
return nullptr;
RefPtrWillBeRawPtr<ScriptAsyncCallStack> result = nullptr;
for (AsyncCallStackVector::const_reverse_iterator it = callStacks.rbegin(); it != callStacks.rend(); ++it) {
- RefPtrWillBeRawPtr<JavaScriptCallFrame> callFrame = V8Debugger::toJavaScriptCallFrameUnsafe((*it)->callFrames());
+ RefPtr<JavaScriptCallFrame> callFrame = V8Debugger::toJavaScriptCallFrameUnsafe((*it)->callFrames());
if (!callFrame)
break;
result = ScriptAsyncCallStack::create((*it)->description(), toScriptCallStack(callFrame.get()), result.release());
« no previous file with comments | « Source/core/inspector/InspectorDebuggerAgent.h ('k') | Source/core/inspector/JavaScriptCallFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698