2011-05-22 Jeff Miller <jeffm@apple.com>
authorjeffm@apple.com <jeffm@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 22 May 2011 16:48:35 +0000 (16:48 +0000)
committerjeffm@apple.com <jeffm@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 22 May 2011 16:48:35 +0000 (16:48 +0000)
commit80005a85d95b5d63b002a27da9c483cd3ad0423b
tree565bc1cba53df3b6988c1b3e613d924b5a3744f1
parent52d879d5d715c5507a1ec7eee1843a824f475391
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().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@87031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/WebContext.cpp