Title: [114634] trunk/Source/WebKit/chromium
Revision
114634
Author
pilg...@chromium.org
Date
2012-04-19 08:51:26 -0700 (Thu, 19 Apr 2012)

Log Message

[Chromium] Call audioHardwareSampleRate directly
https://bugs.webkit.org/show_bug.cgi?id=84335

Reviewed by Kentaro Hara.

Part of a refactoring series. See tracking bug 82948.

* src/AudioDestinationChromium.cpp:
(WebCore::AudioDestination::hardwareSampleRate):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (114633 => 114634)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-04-19 15:37:16 UTC (rev 114633)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-04-19 15:51:26 UTC (rev 114634)
@@ -1,3 +1,15 @@
+2012-04-19  Mark Pilgrim  <pilg...@chromium.org>
+
+        [Chromium] Call audioHardwareSampleRate directly
+        https://bugs.webkit.org/show_bug.cgi?id=84335
+
+        Reviewed by Kentaro Hara.
+
+        Part of a refactoring series. See tracking bug 82948.
+
+        * src/AudioDestinationChromium.cpp:
+        (WebCore::AudioDestination::hardwareSampleRate):
+
 2012-04-18  Nico Weber  <tha...@chromium.org>
 
         [chromium/mac] Fix build.

Modified: trunk/Source/WebKit/chromium/src/AudioDestinationChromium.cpp (114633 => 114634)


--- trunk/Source/WebKit/chromium/src/AudioDestinationChromium.cpp	2012-04-19 15:37:16 UTC (rev 114633)
+++ trunk/Source/WebKit/chromium/src/AudioDestinationChromium.cpp	2012-04-19 15:51:26 UTC (rev 114634)
@@ -35,6 +35,8 @@
 #include "WebKit.h"
 #include "platform/WebKitPlatformSupport.h"
 
+#include <public/Platform.h>
+
 using namespace WebKit;
 
 namespace WebCore {
@@ -102,7 +104,7 @@
 
 float AudioDestination::hardwareSampleRate()
 {
-    return static_cast<float>(webKitPlatformSupport()->audioHardwareSampleRate());
+    return static_cast<float>(WebKit::Platform::current()->audioHardwareSampleRate());
 }
 
 // Pulls on our provider to get the rendered audio stream.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to