Commit 3e34da8e authored by commit-queue@webkit.org's avatar commit-queue@webkit.org
Browse files

2011-01-18 Konstantin Tokarev <annulen@yandex.ru>

        Reviewed by Kent Tamura.

        Fixed compilation when Inspector is disabled
        https://bugs.webkit.org/show_bug.cgi?id=52564

        * page/Page.cpp:
        (WebCore::networkStateChanged): Added ENABLE(INSPECTOR) guard

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent fdba390e
2011-01-18 Konstantin Tokarev <annulen@yandex.ru>
Reviewed by Kent Tamura.
Fixed compilation when Inspector is disabled
https://bugs.webkit.org/show_bug.cgi?id=52564
* page/Page.cpp:
(WebCore::networkStateChanged): Added ENABLE(INSPECTOR) guard
2011-01-18 MORITA Hajime <morrita@google.com>
 
Unreviewed, rolling out r76004, r76005, r76007, and r76011.
......@@ -112,7 +112,9 @@ static void networkStateChanged()
for (HashSet<Page*>::iterator it = allPages->begin(); it != end; ++it) {
for (Frame* frame = (*it)->mainFrame(); frame; frame = frame->tree()->traverseNext())
frames.append(frame);
#if ENABLE(INSPECTOR)
InspectorInstrumentation::networkStateChanged(*it);
#endif
}
AtomicString eventName = networkStateNotifier().onLine() ? eventNames().onlineEvent : eventNames().offlineEvent;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment