summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webkit/glue/devtools/js/devtools.js1
-rw-r--r--webkit/glue/devtools/js/profiler_agent.js10
2 files changed, 0 insertions, 11 deletions
diff --git a/webkit/glue/devtools/js/devtools.js b/webkit/glue/devtools/js/devtools.js
index c4cb247..5e57609 100644
--- a/webkit/glue/devtools/js/devtools.js
+++ b/webkit/glue/devtools/js/devtools.js
@@ -52,7 +52,6 @@ devtools.ToolsAgent = function() {
devtools.ToolsAgent.prototype.reset = function() {
InspectorFrontendHost.reset();
this.debuggerAgent_.reset();
- this.profilerAgent_.reset();
};
diff --git a/webkit/glue/devtools/js/profiler_agent.js b/webkit/glue/devtools/js/profiler_agent.js
index c41bbcb..e5eea43 100644
--- a/webkit/glue/devtools/js/profiler_agent.js
+++ b/webkit/glue/devtools/js/profiler_agent.js
@@ -63,16 +63,6 @@ devtools.ProfilerAgent.ProfilerModules = {
/**
- * Resets profiler agent to its initial state.
- */
-devtools.ProfilerAgent.prototype.reset = function() {
- this.logPosition_ = 0;
- this.activeProfilerModules_ =
- devtools.ProfilerAgent.ProfilerModules.PROFILER_MODULE_NONE;
-};
-
-
-/**
* Sets up callbacks that deal with profiles processing.
*/
devtools.ProfilerAgent.prototype.setupProfilerProcessorCallbacks = function() {