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

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

Issue 196423009: Swich to the new CpuProfiler api that returns non-const CpuProfile (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/ScriptProfile.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/ScriptProfile.cpp
diff --git a/Source/core/inspector/ScriptProfile.cpp b/Source/core/inspector/ScriptProfile.cpp
index 731353874753a8cd281115b032745d577d4933c4..09539eae0d4bd5b22e3bc5fa6116645cd0dcec33 100644
--- a/Source/core/inspector/ScriptProfile.cpp
+++ b/Source/core/inspector/ScriptProfile.cpp
@@ -40,7 +40,7 @@ namespace WebCore {
ScriptProfile::~ScriptProfile()
{
- const_cast<v8::CpuProfile*>(m_profile)->Delete();
+ m_profile->Delete();
}
String ScriptProfile::title() const
« no previous file with comments | « Source/core/inspector/ScriptProfile.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698