Unreviewed build fix for DEBUG: remove comparison of an unsigned variable with '...
authorrolandsteiner@chromium.org <rolandsteiner@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jan 2012 08:29:37 +0000 (08:29 +0000)
committerrolandsteiner@chromium.org <rolandsteiner@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jan 2012 08:29:37 +0000 (08:29 +0000)
No new tests. (no functionality change)

* webaudio/AudioNodeOutput.cpp:
(WebCore::AudioNodeOutput::AudioNodeOutput):

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

Source/WebCore/ChangeLog
Source/WebCore/webaudio/AudioNodeOutput.cpp

index e6fdca5..d936543 100644 (file)
@@ -1,3 +1,12 @@
+2012-01-19  Roland Steiner  <rolandsteiner@chromium.org>
+
+        Unreviewed build fix for DEBUG: remove comparison of an unsigned variable with '>= 0' in ASSERT.
+
+        No new tests. (no functionality change)
+
+        * webaudio/AudioNodeOutput.cpp:
+        (WebCore::AudioNodeOutput::AudioNodeOutput):
+
 2012-01-18  Li Yin  <li.yin@intel.com>
 
         [v8] Low efficiency of writing long string from web application to plugin.
index d22bdaf..e7176b6 100644 (file)
@@ -47,7 +47,7 @@ AudioNodeOutput::AudioNodeOutput(AudioNode* node, unsigned numberOfChannels)
     , m_isEnabled(true)
     , m_renderingFanOutCount(0)
 {
-    ASSERT(numberOfChannels >= 0 && numberOfChannels <= MaxNumberOfChannels);
+    ASSERT(numberOfChannels <= MaxNumberOfChannels);
 
     m_internalBus = adoptPtr(new AudioBus(numberOfChannels, AudioNode::ProcessingSizeInFrames));
     m_actualDestinationBus = m_internalBus.get();