Fix build for non-iOS platforms. :|
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Jan 2015 23:42:48 +0000 (23:42 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Jan 2015 23:42:48 +0000 (23:42 +0000)
* Modules/geolocation/Geolocation.cpp:
(WebCore::Geolocation::resume):

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

Source/WebCore/ChangeLog
Source/WebCore/Modules/geolocation/Geolocation.cpp

index 4999bb8..2940cfb 100644 (file)
@@ -1,3 +1,10 @@
+2015-01-12  Andreas Kling  <akling@apple.com>
+
+        Fix build for non-iOS platforms. :|
+
+        * Modules/geolocation/Geolocation.cpp:
+        (WebCore::Geolocation::resume):
+
 2015-01-12  Carlos Alberto Lopez Perez  <clopez@igalia.com>
 
         [Freetype] Don't use non-scalable fonts.
 2015-01-12  Carlos Alberto Lopez Perez  <clopez@igalia.com>
 
         [Freetype] Don't use non-scalable fonts.
index 25a3f7b..9f9d571 100644 (file)
@@ -287,7 +287,9 @@ void Geolocation::suspend(ReasonForSuspension reason)
 
 void Geolocation::resume()
 {
 
 void Geolocation::resume()
 {
+#if PLATFORM(IOS)
     ASSERT(WebThreadIsLockedOrDisabled());
     ASSERT(WebThreadIsLockedOrDisabled());
+#endif
     ActiveDOMObject::resume();
 
     if (!m_resumeTimer.isActive())
     ActiveDOMObject::resume();
 
     if (!m_resumeTimer.isActive())