OSDN Git Service

Merge WebKit at r78450: Initial merge by git.
[android-x86/external-webkit.git] / Source / WebCore / webaudio / RealtimeAnalyser.cpp
index 30a7de1..1a1e920 100644 (file)
@@ -32,7 +32,7 @@
 #include "AudioUtilities.h"
 #include "FFTFrame.h"
 
-#if ENABLE(3D_CANVAS)
+#if ENABLE(WEBGL)
 #include "Float32Array.h"
 #include "Uint8Array.h"
 #endif
@@ -193,7 +193,7 @@ void RealtimeAnalyser::doFFTAnalysis()
     }
 }
 
-#if ENABLE(3D_CANVAS)
+#if ENABLE(WEBGL)
 
 void RealtimeAnalyser::getFloatFrequencyData(Float32Array* destinationArray)
 {
@@ -294,7 +294,7 @@ void RealtimeAnalyser::getByteTimeDomainData(Uint8Array* destinationArray)
     }
 }
 
-#endif // 3D_CANVAS
+#endif // WEBGL
 
 } // namespace WebCore