Changeset 159090 in webkit


Ignore:
Timestamp:
Nov 11, 2013 5:55:35 PM (10 years ago)
Author:
Gustavo Noronha Silva
Message:

REGRESSION(r158976): Web Inspector: unable to start docked or dock
https://bugs.webkit.org/show_bug.cgi?id=124148

Reviewed by Timothy Hatcher.

  • UIProcess/WebInspectorProxy.cpp:

(WebKit::WebInspectorProxy::canAttach): check for a level that is greater than 1 rather than 0
to deny attachment, since 1 is the first level of inspectors.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r159089 r159090  
     12013-11-11  Gustavo Noronha Silva  <gns@gnome.org>
     2
     3        REGRESSION(r158976): Web Inspector: unable to start docked or dock
     4        https://bugs.webkit.org/show_bug.cgi?id=124148
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * UIProcess/WebInspectorProxy.cpp:
     9        (WebKit::WebInspectorProxy::canAttach): check for a level that is greater than 1 rather than 0
     10        to deny attachment, since 1 is the first level of inspectors.
     11
    1122013-11-11  Anders Carlsson  <andersca@apple.com>
    213
  • trunk/Source/WebKit2/UIProcess/WebInspectorProxy.cpp

    r158976 r159090  
    550550
    551551    // Don't allow attaching to another inspector -- two inspectors in one window is too much!
    552     if (m_level > 0)
     552    if (m_level > 1)
    553553        return false;
    554554
Note: See TracChangeset for help on using the changeset viewer.