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

Issue 197873015: StopCpuProfiling should return non-const CpuProfile (Closed)

Created:
6 years, 9 months ago by yurys
Modified:
6 years, 9 months ago
Reviewers:
Sven Panne, alph, loislo
CC:
v8-dev, Paweł Hajdan Jr.
Visibility:
Public.

Description

StopCpuProfiling should return non-const CpuProfile StopCpuProfiling is replaced with StopProfiling which returns non-const CpuProfile which allows to call CpuProfile::Delete on it without const_cast. Also replaced StartCpuProfiling with StartProfiling to have symmetric names for start/stop actions. BUG=v8:3213 LOG=Y R=alph@chromium.org, svenpanne@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=19918

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -3 lines) Patch
M include/v8-profiler.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/api.cc View 1 chunk +13 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
yurys
6 years, 9 months ago (2014-03-14 07:38:35 UTC) #1
alph
lgtm
6 years, 9 months ago (2014-03-14 07:59:16 UTC) #2
Sven Panne
lgtm
6 years, 9 months ago (2014-03-14 09:13:22 UTC) #3
yurys
6 years, 9 months ago (2014-03-14 09:26:39 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r19918 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698