Changeset 205561 in webkit


Ignore:
Timestamp:
Sep 7, 2016 12:45:52 PM (8 years ago)
Author:
Konstantin Tokarev
Message:

[GTK] Make inspection of Inspector conditional on DEVELOPER_MODE
https://bugs.webkit.org/show_bug.cgi?id=161702

Reviewed by Michael Catanzaro.

  • UIProcess/gtk/WebInspectorProxyGtk.cpp:

(WebKit::WebInspectorProxy::platformCreateInspectorPage):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r205559 r205561  
     12016-09-07  Konstantin Tokarev  <annulen@yandex.ru>
     2
     3        [GTK] Make inspection of Inspector conditional on DEVELOPER_MODE
     4        https://bugs.webkit.org/show_bug.cgi?id=161702
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        * UIProcess/gtk/WebInspectorProxyGtk.cpp:
     9        (WebKit::WebInspectorProxy::platformCreateInspectorPage):
     10
    1112016-09-07  Dan Bernstein  <mitz@apple.com>
    212
  • trunk/Source/WebKit2/UIProcess/gtk/WebInspectorProxyGtk.cpp

    r205370 r205561  
    7070
    7171    RefPtr<WebPreferences> preferences = WebPreferences::create(String(), "WebKit2.", "WebKit2.");
    72 #ifndef NDEBUG
     72#if ENABLE(DEVELOPER_MODE)
    7373    // Allow developers to inspect the Web Inspector in debug builds without changing settings.
    7474    preferences->setDeveloperExtrasEnabled(true);
Note: See TracChangeset for help on using the changeset viewer.