2008-11-06 Sam Weinig <sam@webkit.org>
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Nov 2008 21:55:29 +0000 (21:55 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Nov 2008 21:55:29 +0000 (21:55 +0000)
        Reviewed by Alice Liu.

        Fix failed assert at launch caused by unintialized data member on the mac.

        * platform/network/mac/NetworkStateNotifierMac.cpp:
        (WebCore::NetworkStateNotifier::NetworkStateNotifier):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@38198 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/network/mac/NetworkStateNotifierMac.cpp

index b644de7..d702c1e 100644 (file)
@@ -1,3 +1,12 @@
+2008-11-06  Sam Weinig  <sam@webkit.org>
+
+        Reviewed by Alice Liu.
+
+        Fix failed assert at launch caused by unintialized data member on the mac.
+
+        * platform/network/mac/NetworkStateNotifierMac.cpp:
+        (WebCore::NetworkStateNotifier::NetworkStateNotifier):
+
 2008-11-06  Steve Falkenburg  <sfalken@apple.com>
 
         Fix failed assert at launch caused by unintialized data member.
index 6e0b70d..ec04539 100644 (file)
@@ -95,6 +95,7 @@ void NetworkStateNotifier::networkStateChangeTimerFired(Timer<NetworkStateNotifi
 
 NetworkStateNotifier::NetworkStateNotifier()
     : m_isOnLine(false)
+    , m_networkStateChangedFunction(0)
     , m_networkStateChangeTimer(this, &NetworkStateNotifier::networkStateChangeTimerFired)
 {
     SCDynamicStoreContext context = { 0, this, 0, 0, 0 };