Changeset 87031 in webkit


Ignore:
Timestamp:
May 22, 2011 9:48:35 AM (13 years ago)
Author:
jeffm@apple.com
Message:

2011-05-22 Jeff Miller <jeffm@apple.com>

Reviewed by Darin Adler.

Don't call WebKit::initializeLogChannelsIfNecessary if logging is disabled
https://bugs.webkit.org/show_bug.cgi?id=61249

  • UIProcess/WebContext.cpp: (WebKit::WebContext::WebContext): Check #if !LOG_DISABLED, not #ifndef NDEBUG, to decide whether to call WebKit::initializeLogChannelsIfNecessary().
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r87023 r87031  
     12011-05-22  Jeff Miller  <jeffm@apple.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        Don't call WebKit::initializeLogChannelsIfNecessary if logging is disabled
     6        https://bugs.webkit.org/show_bug.cgi?id=61249
     7
     8        * UIProcess/WebContext.cpp:
     9        (WebKit::WebContext::WebContext): Check #if !LOG_DISABLED, not #ifndef NDEBUG, to decide whether to call WebKit::initializeLogChannelsIfNecessary().
     10
    1112011-05-21  Nancy Piedra  <nancy.piedra@nokia.com>
    212
  • trunk/Source/WebKit2/UIProcess/WebContext.cpp

    r86967 r87031  
    130130    , m_processTerminationEnabled(true)
    131131{
    132 #ifndef NDEBUG
     132#if !LOG_DISABLED
    133133    WebKit::initializeLogChannelsIfNecessary();
    134134#endif
Note: See TracChangeset for help on using the changeset viewer.