diff options
author | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-02 17:02:19 +0000 |
---|---|---|
committer | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-02 17:02:19 +0000 |
commit | f20788dd23303a6245ff46638505793c0c9fac3f (patch) | |
tree | b342329ceddec3edc328fd2787695d0c128678e1 | |
parent | a4feef8f23c9aed533bcd8b35e594fe3cf300a23 (diff) | |
download | chromium_src-f20788dd23303a6245ff46638505793c0c9fac3f.zip chromium_src-f20788dd23303a6245ff46638505793c0c9fac3f.tar.gz chromium_src-f20788dd23303a6245ff46638505793c0c9fac3f.tar.bz2 |
Test to see if getting the network status on startup is expensive, and causing a performance startup regression.
Review URL: http://codereview.chromium.org/5672
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2794 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | webkit/port/platform/network/NetworkStateNotifierWin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/port/platform/network/NetworkStateNotifierWin.cpp b/webkit/port/platform/network/NetworkStateNotifierWin.cpp index 3f5edbb..ba2d3ee 100644 --- a/webkit/port/platform/network/NetworkStateNotifierWin.cpp +++ b/webkit/port/platform/network/NetworkStateNotifierWin.cpp @@ -38,6 +38,7 @@ void NetworkStateNotifier::updateState() {
// Assume that we're online until proven otherwise.
m_isOnLine = true;
+ return;
Vector<char> buffer;
DWORD size = 0;
|