https://bugs.webkit.org/show_bug.cgi?id=75890
Change to check elevation as intended instead of azimuth.
Patch by Raymond Toy <rtoy@google.com> on 2012-02-21
Reviewed by Chris Rogers.
No new tests for correction of typo.
* webaudio/AudioPannerNode.cpp:
(WebCore::AudioPannerNode::getAzimuthElevation):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108430
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-02-21 Raymond Toy <rtoy@google.com>
+
+ Small typo in AudioPannerNode.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=75890
+
+ Change to check elevation as intended instead of azimuth.
+
+ Reviewed by Chris Rogers.
+
+ No new tests for correction of typo.
+
+ * webaudio/AudioPannerNode.cpp:
+ (WebCore::AudioPannerNode::getAzimuthElevation):
+
2012-02-21 Adam Barth <abarth@webkit.org>
Frame and Navigator shouldn't need to worry about Geolocation
// Elevation
double elevation = 90.0 - 180.0 * acos(sourceListener.dot(up)) / piDouble;
- fixNANs(azimuth); // avoid illegal values
+ fixNANs(elevation); // avoid illegal values
if (elevation > 90.0)
elevation = 180.0 - elevation;