Updates:
        Cc: [email protected] [email protected]
        Labels: Type-Bug OS-All

Comment #2 on issue 3213 by [email protected]: No way to delete CpuProfile* objects
http://code.google.com/p/v8/issues/detail?id=3213

Exactly, this is a bug in the signature. There shouldn't be const modifier on the profile returned from StopCpuProfiling. We have to do const_cast in the Blink code too when deleting profile[1]. Unfortunately to keep current clients compiling we will need to deprecate current StopCpuProfiling method and introduce a new one that returns non-const profile. For now it is fine to do const_cast and then call Delete.


[1] https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/inspector/ScriptProfile.cpp&q=ScriptProfile.cpp&sq=package:chromium&type=cs&l=43

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to