| Index: webkit/glue/devtools/js/devtools.js
|
| ===================================================================
|
| --- webkit/glue/devtools/js/devtools.js (revision 34040)
|
| +++ webkit/glue/devtools/js/devtools.js (working copy)
|
| @@ -42,7 +42,6 @@
|
| RemoteToolsAgent.DispatchOnClient =
|
| goog.bind(this.dispatchOnClient_, this);
|
| this.debuggerAgent_ = new devtools.DebuggerAgent();
|
| - this.profilerAgent_ = new devtools.ProfilerAgent();
|
| };
|
|
|
|
|
| @@ -52,7 +51,6 @@
|
| devtools.ToolsAgent.prototype.reset = function() {
|
| InspectorFrontendHost.reset();
|
| this.debuggerAgent_.reset();
|
| - this.profilerAgent_.reset();
|
| };
|
|
|
|
|
| @@ -77,14 +75,6 @@
|
|
|
|
|
| /**
|
| - * @return {devtools.ProfilerAgent} Profiler agent instance.
|
| - */
|
| -devtools.ToolsAgent.prototype.getProfilerAgent = function() {
|
| - return this.profilerAgent_;
|
| -};
|
| -
|
| -
|
| -/**
|
| * @param {string} url Url frame navigated to.
|
| * @see tools_agent.h
|
| * @private
|
| @@ -329,7 +319,7 @@
|
| (function InterceptProfilesPanelEvents() {
|
| var oldShow = WebInspector.ProfilesPanel.prototype.show;
|
| WebInspector.ProfilesPanel.prototype.show = function() {
|
| - devtools.tools.getProfilerAgent().initializeProfiling();
|
| + devtools.tools.getDebuggerAgent().initializeProfiling();
|
| this.enableToggleButton.visible = false;
|
| oldShow.call(this);
|
| // Show is called on every show event of a panel, so
|
|
|