https://bugs.webkit.org/show_bug.cgi?id=109259
Patch by Vladislav Kaznacheev <kaznacheev@chromium.org> on 2013-02-07
Reviewed by Vsevolod Vlasov.
* inspector/front-end/DOMBreakpointsSidebarPane.js:
(WebInspector.DOMBreakpointsSidebarPane.Proxy):
* inspector/front-end/SidebarPane.js:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@142231
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2013-02-07 Vladislav Kaznacheev <kaznacheev@chromium.org>
+
+ Web Inspector: Fix front-end compilation warnings related to WebInspector.SidebarPane
+ https://bugs.webkit.org/show_bug.cgi?id=109259
+
+ Reviewed by Vsevolod Vlasov.
+
+ * inspector/front-end/DOMBreakpointsSidebarPane.js:
+ (WebInspector.DOMBreakpointsSidebarPane.Proxy):
+ * inspector/front-end/SidebarPane.js:
+
2013-02-07 Kentaro Hara <haraken@chromium.org>
[V8] enum V8HiddenPropertyCreationType is not used
*/
WebInspector.DOMBreakpointsSidebarPane.Proxy = function(pane, panel)
{
- WebInspector.View._assert(!pane.titleElement.firstChild);
+ WebInspector.View._assert(!pane.titleElement.firstChild, "Cannot create proxy for a sidebar pane with a toolbar");
WebInspector.SidebarPane.call(this, pane.title());
/**
* @param {function()} callback
- * @return {boolean}
*/
_setExpandCallback: function(callback)
{