Unreviewed build fix for Windows.
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 23 May 2015 01:15:32 +0000 (01:15 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 23 May 2015 01:15:32 +0000 (01:15 +0000)
* WebView.cpp:
(WebView::notifyPreferencesChanged):

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

Source/WebKit/win/ChangeLog
Source/WebKit/win/WebView.cpp

index 805219e..71e54c1 100644 (file)
@@ -1,3 +1,10 @@
+2015-05-22  Jon Lee  <jonlee@apple.com>
+
+        Unreviewed build fix for Windows.
+
+        * WebView.cpp:
+        (WebView::notifyPreferencesChanged):
+
 2015-05-19  Brady Eidson  <beidson@apple.com>
 
         X-Frame-Options headers not respected when loading from application cache.
index 23a486e..c92554d 100644 (file)
@@ -5125,7 +5125,7 @@ HRESULT WebView::notifyPreferencesChanged(IWebNotification* notification)
     hr = prefsPrivate->mediaPlaybackRequiresUserGesture(&enabled);
     if (FAILED(hr))
         return hr;
-    settings.setMediaPlaybackRequiresUserGesture(enabled);
+    settings.setRequiresUserGestureForMediaPlayback(enabled);
 
     hr = prefsPrivate->mediaPlaybackAllowsInline(&enabled);
     if (FAILED(hr))