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

Unified Diff: webkit/glue/devtools/js/debugger_agent.js

Issue 119039: DevTools Profiler: use sampling rate reported by V8 profiler.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 | « no previous file | webkit/glue/devtools/js/profiler_processor.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/js/debugger_agent.js
===================================================================
--- webkit/glue/devtools/js/debugger_agent.js (revision 17399)
+++ webkit/glue/devtools/js/debugger_agent.js (working copy)
@@ -611,7 +611,8 @@
if (is_started && !this.isProfilingStarted_) {
// Start to query log data.
RemoteDebuggerAgent.GetLogLines(this.lastProfileLogPosition_);
- } else if (!is_started && this.isProfilingStarted_) {
+ } else if (!is_started && this.isProfilingStarted_ &&
+ this.profilerProcessor_.isProcessingProfile()) {
// Display a temporary icon / message indicating that the profile
// is being processed.
var processingIcon = new WebInspector.SidebarTreeElement(
« no previous file with comments | « no previous file | webkit/glue/devtools/js/profiler_processor.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698