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

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

Issue 325143002: Oilpan: Prepare moving inspector script related classes to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed Created 6 years, 6 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/ScriptCallStack.h ('k') | Source/core/inspector/ScriptProfile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/ScriptCallStack.cpp
diff --git a/Source/core/inspector/ScriptCallStack.cpp b/Source/core/inspector/ScriptCallStack.cpp
index 1dfc7c95c67218525f148a8920fe42d64a39d4ec..641e6f36e331bfe13d8ffe8afb7683f3d948b78f 100644
--- a/Source/core/inspector/ScriptCallStack.cpp
+++ b/Source/core/inspector/ScriptCallStack.cpp
@@ -34,9 +34,11 @@
namespace WebCore {
-PassRefPtr<ScriptCallStack> ScriptCallStack::create(Vector<ScriptCallFrame>& frames)
+DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ScriptCallStack);
+
+PassRefPtrWillBeRawPtr<ScriptCallStack> ScriptCallStack::create(Vector<ScriptCallFrame>& frames)
{
- return adoptRef(new ScriptCallStack(frames));
+ return adoptRefWillBeNoop(new ScriptCallStack(frames));
}
ScriptCallStack::ScriptCallStack(Vector<ScriptCallFrame>& frames)
@@ -44,10 +46,6 @@ ScriptCallStack::ScriptCallStack(Vector<ScriptCallFrame>& frames)
m_frames.swap(frames);
}
-ScriptCallStack::~ScriptCallStack()
-{
-}
-
const ScriptCallFrame &ScriptCallStack::at(size_t index) const
{
ASSERT(m_frames.size() > index);
« no previous file with comments | « Source/core/inspector/ScriptCallStack.h ('k') | Source/core/inspector/ScriptProfile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698