Title: [178303] trunk/Source/WebCore
Revision
178303
Author
akl...@apple.com
Date
2015-01-12 15:53:12 -0800 (Mon, 12 Jan 2015)

Log Message

Guard web thread stuff with USE(WEB_THREAD) instead of PLATFORM(IOS).

Dan pointed out that we should guard WebThreadIsLockedOrDisabled() with
USE(WEB_THREAD) to communicate our ambitions to someday have an iOS
build of WebKit that doesn't need any of that.

* Modules/geolocation/Geolocation.cpp:
(WebCore::Geolocation::resume):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (178302 => 178303)


--- trunk/Source/WebCore/ChangeLog	2015-01-12 23:42:48 UTC (rev 178302)
+++ trunk/Source/WebCore/ChangeLog	2015-01-12 23:53:12 UTC (rev 178303)
@@ -1,5 +1,16 @@
 2015-01-12  Andreas Kling  <akl...@apple.com>
 
+        Guard web thread stuff with USE(WEB_THREAD) instead of PLATFORM(IOS).
+
+        Dan pointed out that we should guard WebThreadIsLockedOrDisabled() with
+        USE(WEB_THREAD) to communicate our ambitions to someday have an iOS
+        build of WebKit that doesn't need any of that.
+
+        * Modules/geolocation/Geolocation.cpp:
+        (WebCore::Geolocation::resume):
+
+2015-01-12  Andreas Kling  <akl...@apple.com>
+
         Fix build for non-iOS platforms. :|
 
         * Modules/geolocation/Geolocation.cpp:

Modified: trunk/Source/WebCore/Modules/geolocation/Geolocation.cpp (178302 => 178303)


--- trunk/Source/WebCore/Modules/geolocation/Geolocation.cpp	2015-01-12 23:42:48 UTC (rev 178302)
+++ trunk/Source/WebCore/Modules/geolocation/Geolocation.cpp	2015-01-12 23:53:12 UTC (rev 178303)
@@ -287,7 +287,7 @@
 
 void Geolocation::resume()
 {
-#if PLATFORM(IOS)
+#if USE(WEB_THREAD)
     ASSERT(WebThreadIsLockedOrDisabled());
 #endif
     ActiveDOMObject::resume();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to