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

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

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/bindings/v8/ScriptProfiler.cpp ('k') | Source/core/inspector/ScriptProfile.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/ScriptProfile.h
diff --git a/Source/core/inspector/ScriptProfile.h b/Source/core/inspector/ScriptProfile.h
index 162c0b8b26129a8fc24131c4eab3d8923ceb6bab..91ce25f2ffb106e50ca36de6b9acd63fb6acd89f 100644
--- a/Source/core/inspector/ScriptProfile.h
+++ b/Source/core/inspector/ScriptProfile.h
@@ -43,7 +43,7 @@ namespace WebCore {
class ScriptProfile FINAL : public RefCounted<ScriptProfile> {
public:
- static PassRefPtr<ScriptProfile> create(const v8::CpuProfile* profile, double idleTime)
+ static PassRefPtr<ScriptProfile> create(v8::CpuProfile* profile, double idleTime)
{
return adoptRef(new ScriptProfile(profile, idleTime));
}
@@ -59,13 +59,13 @@ public:
PassRefPtr<TypeBuilder::Array<int> > buildInspectorObjectForSamples() const;
private:
- ScriptProfile(const v8::CpuProfile* profile, double idleTime)
+ ScriptProfile(v8::CpuProfile* profile, double idleTime)
: m_profile(profile)
, m_idleTime(idleTime)
{
}
- const v8::CpuProfile* m_profile;
+ v8::CpuProfile* m_profile;
double m_idleTime;
};
« no previous file with comments | « Source/bindings/v8/ScriptProfiler.cpp ('k') | Source/core/inspector/ScriptProfile.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698