Unreviewed. Fixing the GTK build fix after r164757.
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Feb 2014 08:42:12 +0000 (08:42 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Feb 2014 08:42:12 +0000 (08:42 +0000)
* platform/network/NetworkStateNotifier.cpp: r164757 introduced a layering violation by including
the Settings.h header. The use of that class is guarded by PLATFORM(IOS), so the header inclusion
should be guarded as well.

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

Source/WebCore/ChangeLog
Source/WebCore/platform/network/NetworkStateNotifier.cpp

index c843681..6e1ddfe 100644 (file)
@@ -1,3 +1,11 @@
+2014-02-27  Zan Dobersek  <zdobersek@igalia.com>
+
+        Unreviewed. Fixing the GTK build fix after r164757.
+
+        * platform/network/NetworkStateNotifier.cpp: r164757 introduced a layering violation by including
+        the Settings.h header. The use of that class is guarded by PLATFORM(IOS), so the header inclusion
+        should be guarded as well.
+
 2014-02-26  Ryosuke Niwa  <rniwa@webkit.org>
 
         Extract named items caches in HTMLCollection as a class
index 3f745e9..b9e98f8 100644 (file)
 #include "config.h"
 #include "NetworkStateNotifier.h"
 
+#if PLATFORM(IOS)
 #include "Settings.h"
+#endif
+
 #include <mutex>
 #include <wtf/Assertions.h>
 #include <wtf/StdLibExtras.h>