Skip to content

Commit

Permalink
Web Inspector: fix closure compiler warnings in ProfilesPanel
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=111163

Patch by Alexei Filippov <[email protected]> on 2013-03-01
Reviewed by Vsevolod Vlasov.

* inspector/front-end/ProfileLauncherView.js:
(WebInspector.ProfileLauncherView.prototype.addProfileType):
* inspector/front-end/ProfilesPanel.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
[email protected] committed Mar 1, 2013
1 parent 70abc14 commit 56b8119
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 7 deletions.
11 changes: 11 additions & 0 deletions Source/WebCore/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
2013-03-01 Alexei Filippov <[email protected]>

Web Inspector: fix closure compiler warnings in ProfilesPanel
https://bugs.webkit.org/show_bug.cgi?id=111163

Reviewed by Vsevolod Vlasov.

* inspector/front-end/ProfileLauncherView.js:
(WebInspector.ProfileLauncherView.prototype.addProfileType):
* inspector/front-end/ProfilesPanel.js:

2013-03-01 Victor Carbune <[email protected]>

Support padding, margin and border for internal UA cue styling
Expand Down
2 changes: 1 addition & 1 deletion Source/WebCore/inspector/front-end/ProfileLauncherView.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ WebInspector.ProfileLauncherView.prototype = {
if (decorationElement)
labelElement.appendChild(decorationElement);
if (this._singleProfileMode)
this._profileTypeChanged(profileType);
this._profileTypeChanged(profileType, null);
},

_controlButtonClicked: function()
Expand Down
24 changes: 18 additions & 6 deletions Source/WebCore/inspector/front-end/ProfilesPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,9 @@ WebInspector.CPUProfilerPanel = function()
this._registerProfileType(new WebInspector.CPUProfileType());
}

WebInspector.CPUProfilerPanel.prototype.__proto__ = WebInspector.ProfilesPanel.prototype;
WebInspector.CPUProfilerPanel.prototype = {
__proto__: WebInspector.ProfilesPanel.prototype
}


/**
Expand All @@ -1370,7 +1372,9 @@ WebInspector.CSSSelectorProfilerPanel = function()
this._registerProfileType(new WebInspector.CSSSelectorProfileType());
}

WebInspector.CSSSelectorProfilerPanel.prototype.__proto__ = WebInspector.ProfilesPanel.prototype;
WebInspector.CSSSelectorProfilerPanel.prototype = {
__proto__: WebInspector.ProfilesPanel.prototype
}


/**
Expand All @@ -1383,7 +1387,9 @@ WebInspector.HeapProfilerPanel = function()
this._registerProfileType(new WebInspector.HeapSnapshotProfileType());
}

WebInspector.HeapProfilerPanel.prototype.__proto__ = WebInspector.ProfilesPanel.prototype;
WebInspector.HeapProfilerPanel.prototype = {
__proto__: WebInspector.ProfilesPanel.prototype
}


/**
Expand All @@ -1396,7 +1402,9 @@ WebInspector.CanvasProfilerPanel = function()
this._registerProfileType(new WebInspector.CanvasProfileType());
}

WebInspector.CanvasProfilerPanel.prototype.__proto__ = WebInspector.ProfilesPanel.prototype;
WebInspector.CanvasProfilerPanel.prototype = {
__proto__: WebInspector.ProfilesPanel.prototype
}


/**
Expand All @@ -1409,7 +1417,9 @@ WebInspector.MemoryChartProfilerPanel = function()
this._registerProfileType(new WebInspector.NativeMemoryProfileType());
}

WebInspector.MemoryChartProfilerPanel.prototype.__proto__ = WebInspector.ProfilesPanel.prototype;
WebInspector.MemoryChartProfilerPanel.prototype = {
__proto__: WebInspector.ProfilesPanel.prototype
}


/**
Expand All @@ -1422,7 +1432,9 @@ WebInspector.NativeMemoryProfilerPanel = function()
this._registerProfileType(new WebInspector.NativeSnapshotProfileType());
}

WebInspector.NativeMemoryProfilerPanel.prototype.__proto__ = WebInspector.ProfilesPanel.prototype;
WebInspector.NativeMemoryProfilerPanel.prototype = {
__proto__: WebInspector.ProfilesPanel.prototype
}


importScript("ProfileDataGridTree.js");
Expand Down

0 comments on commit 56b8119

Please sign in to comment.