Commit 027f107e authored by pfeldman@chromium.org's avatar pfeldman@chromium.org
Browse files

2011-01-18 Pavel Feldman <pfeldman@chromium.org>

        Revert r76017. No need to guard InspectorInstrumentation:: in WebCore.

        * page/Page.cpp:
        (WebCore::networkStateChanged):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3e34da8e
2011-01-18 Pavel Feldman <pfeldman@chromium.org>
Revert r76017. No need to guard InspectorInstrumentation:: in WebCore.
* page/Page.cpp:
(WebCore::networkStateChanged):
2011-01-18 Konstantin Tokarev <annulen@yandex.ru>
 
Reviewed by Kent Tamura.
......@@ -112,9 +112,7 @@ 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