Title: [184948] trunk/Source/WebKit/mac
Revision
184948
Author
[email protected]
Date
2015-05-28 00:44:41 -0700 (Thu, 28 May 2015)

Log Message

Build fix after r184946.

* WebView/WebPreferences.mm:
(-[WebPreferences allowsAirPlayForMediaPlayback]):
(-[WebPreferences setAllowsAirPlayForMediaPlayback:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit/mac/ChangeLog (184947 => 184948)


--- trunk/Source/WebKit/mac/ChangeLog	2015-05-28 07:34:21 UTC (rev 184947)
+++ trunk/Source/WebKit/mac/ChangeLog	2015-05-28 07:44:41 UTC (rev 184948)
@@ -1,3 +1,11 @@
+2015-05-28  Jon Lee  <[email protected]>
+
+        Build fix after r184946.
+
+        * WebView/WebPreferences.mm:
+        (-[WebPreferences allowsAirPlayForMediaPlayback]):
+        (-[WebPreferences setAllowsAirPlayForMediaPlayback:]):
+
 2015-05-19  Jon Honeycutt  <[email protected]>
 
         [iOS] When viewing an MJPEG stream as the main resource, only the first

Modified: trunk/Source/WebKit/mac/WebView/WebPreferences.mm (184947 => 184948)


--- trunk/Source/WebKit/mac/WebView/WebPreferences.mm	2015-05-28 07:34:21 UTC (rev 184947)
+++ trunk/Source/WebKit/mac/WebView/WebPreferences.mm	2015-05-28 07:44:41 UTC (rev 184948)
@@ -1154,6 +1154,22 @@
     return [self _boolValueForKey:WebKitSuppressesIncrementalRenderingKey];
 }
 
+- (BOOL)allowsAirPlayForMediaPlayback
+{
+#if ENABLE(WIRELESS_TARGET_PLAYBACK)
+    return [self _boolValueForKey:WebKitAllowsAirPlayForMediaPlaybackPreferenceKey];
+#else
+    return false;
+#endif
+}
+
+- (void)setAllowsAirPlayForMediaPlayback:(BOOL)flag
+{
+#if ENABLE(WIRELESS_TARGET_PLAYBACK)
+    [self _setBoolValue:flag forKey:WebKitAllowsAirPlayForMediaPlaybackPreferenceKey];
+#endif
+}
+
 @end
 
 @implementation WebPreferences (WebPrivate)
@@ -2078,22 +2094,6 @@
     [self _setBoolValue:flag forKey: WebKitEnableInheritURIQueryComponentPreferenceKey];
 }
 
-- (BOOL)allowsAirPlayForMediaPlayback
-{
-#if ENABLE(WIRELESS_TARGET_PLAYBACK)
-    return [self _boolValueForKey:WebKitAllowsAirPlayForMediaPlaybackPreferenceKey];
-#else
-    return false;
-#endif
-}
-
-- (void)setAllowsAirPlayForMediaPlayback:(BOOL)flag
-{
-#if ENABLE(WIRELESS_TARGET_PLAYBACK)
-    [self _setBoolValue:flag forKey:WebKitAllowsAirPlayForMediaPlaybackPreferenceKey];
-#endif
-}
-
 #if PLATFORM(IOS)
 - (BOOL)mediaPlaybackAllowsAirPlay
 {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to