Changeset 147314 in webkit


Ignore:
Timestamp:
Apr 1, 2013 3:25:43 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Fixed DOM Breakpoint pane styles.
https://bugs.webkit.org/show_bug.cgi?id=113688

Patch by Vladislav Kaznacheev <kaznacheev@chromium.org> on 2013-04-01
Reviewed by Pavel Feldman.

The required stylesheet (breakpointsList.css) was not loaded because of
the peculiar way DOMBreakpointsSidebarPane is included in two panels
(Sources and Elements) via a proxy pane. Since DOMBreakpointsSidebarPane
was never shown directly the registerRequiredCSS call in its base class
NativeBreakpointsSidebarPane constructor had no effect.
Addin a registerRequiredCSS call to the proxy pane constructor fixes the
problem.

  • inspector/front-end/DOMBreakpointsSidebarPane.js:

(WebInspector.DOMBreakpointsSidebarPane.Proxy):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r147308 r147314  
     12013-04-01  Vladislav Kaznacheev  <kaznacheev@chromium.org>
     2
     3        Web Inspector: Fixed DOM Breakpoint pane styles.
     4        https://bugs.webkit.org/show_bug.cgi?id=113688
     5
     6        Reviewed by Pavel Feldman.
     7
     8        The required stylesheet (breakpointsList.css) was not loaded because of
     9        the peculiar way DOMBreakpointsSidebarPane is included in two panels
     10        (Sources and Elements) via a proxy pane. Since DOMBreakpointsSidebarPane
     11        was never shown directly the registerRequiredCSS call in its base class
     12        NativeBreakpointsSidebarPane constructor had no effect.
     13        Addin a registerRequiredCSS call to the proxy pane constructor fixes the
     14        problem.
     15
     16
     17        * inspector/front-end/DOMBreakpointsSidebarPane.js:
     18        (WebInspector.DOMBreakpointsSidebarPane.Proxy):
     19
    1202013-04-01  Ilya Tikhonovsky  <loislo@chromium.org>
    221
  • trunk/Source/WebCore/inspector/front-end/DOMBreakpointsSidebarPane.js

    r146220 r147314  
    358358
    359359    WebInspector.SidebarPane.call(this, pane.title());
     360    this.registerRequiredCSS("breakpointsList.css");
    360361
    361362    this._wrappedPane = pane;
Note: See TracChangeset for help on using the changeset viewer.