Changeset 51783 in webkit


Ignore:
Timestamp:
Dec 7, 2009 11:22:48 AM (14 years ago)
Author:
eric@webkit.org
Message:

2009-12-07 Gyuyoung Kim <gyuyoung@gmail.com>

Reviewed by Eric Seidel.

https://bugs.webkit.org/show_bug.cgi?id=32024
[GTK] WebKit does not compile without JAVASCRIPT_DEBUGGER

Fix build errors when javascript-debugger is disabled on GTK

  • GNUmakefile.am:

2009-12-07 Gyuyoung Kim <gyuyoung@gmail.com>

Reviewed by Eric Seidel.

https://bugs.webkit.org/show_bug.cgi?id=32024
[GTK] WebKit does not compile without JAVASCRIPT_DEBUGGER

Fix build errors when javascript-debugger is disabled on GTK

  • webkit/webkitwebinspector.cpp: (webkit_web_inspector_set_property): (webkit_web_inspector_get_property):
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r51776 r51783  
     12009-12-07  Gyuyoung Kim  <gyuyoung@gmail.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=32024
     6        [GTK] WebKit does not compile without JAVASCRIPT_DEBUGGER
     7
     8        Fix build errors when javascript-debugger is disabled on GTK
     9
     10        * GNUmakefile.am:
     11
    1122009-12-07  Dan Bernstein  <mitz@apple.com>
    213
  • trunk/WebCore/GNUmakefile.am

    r51644 r51783  
    21132113        -DENABLE_JAVASCRIPT_DEBUGGER=1
    21142114
     2115else
     2116webcore_cppflags += \
     2117        -DENABLE_JAVASCRIPT_DEBUGGER=0
     2118
    21152119endif # END ENABLE_JAVASCRIPT_DEBUGGER
    21162120
  • trunk/WebKit/gtk/ChangeLog

    r51768 r51783  
     12009-12-07  Gyuyoung Kim  <gyuyoung@gmail.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=32024
     6        [GTK] WebKit does not compile without JAVASCRIPT_DEBUGGER
     7
     8        Fix build errors when javascript-debugger is disabled on GTK
     9
     10        * webkit/webkitwebinspector.cpp:
     11        (webkit_web_inspector_set_property):
     12        (webkit_web_inspector_get_property):
     13
    1142009-12-07  Joanmarie Diggs  <joanmarie.diggs@gmail.com>
    215
  • trunk/WebKit/gtk/webkit/webkitwebinspector.cpp

    r51188 r51783  
    347347    switch(prop_id) {
    348348    case PROP_JAVASCRIPT_PROFILING_ENABLED: {
     349#if ENABLE(JAVASCRIPT_DEBUGGER)
    349350        bool enabled = g_value_get_boolean(value);
    350351        WebCore::InspectorController* controller = priv->page->inspectorController();
     
    353354        else
    354355            controller->disableProfiler();
     356#else
     357        g_message("PROP_JAVASCRIPT_PROFILING_ENABLED is not work because of the javascript debugger is disabled\n");
     358#endif
    355359        break;
    356360    }
     
    383387        break;
    384388    case PROP_JAVASCRIPT_PROFILING_ENABLED:
     389#if ENABLE(JAVASCRIPT_DEBUGGER)
    385390        g_value_set_boolean(value, priv->page->inspectorController()->profilerEnabled());
     391#else
     392        g_message("PROP_JAVASCRIPT_PROFILING_ENABLED is not work because of the javascript debugger is disabled\n");
     393#endif
    386394        break;
    387395    case PROP_TIMELINE_PROFILING_ENABLED:
Note: See TracChangeset for help on using the changeset viewer.