Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(849)

Unified Diff: third_party/WebKit/Source/modules/webaudio/ScriptProcessorNodeTest.cpp

Issue 1470873002: Enable webaudio unit tests iff ENABLE(WEB_AUDIO). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webaudio/ScriptProcessorNodeTest.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/ScriptProcessorNodeTest.cpp b/third_party/WebKit/Source/modules/webaudio/ScriptProcessorNodeTest.cpp
index 3bd3ca6b90525dd6cb2b9baf58401b8813d6012e..425193a3fb00dbbd46228878817e4799ea9f415d 100644
--- a/third_party/WebKit/Source/modules/webaudio/ScriptProcessorNodeTest.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/ScriptProcessorNodeTest.cpp
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "config.h"
+#if ENABLE(WEB_AUDIO)
#include "modules/webaudio/ScriptProcessorNode.h"
#include "core/testing/DummyPageHolder.h"
@@ -28,3 +29,5 @@ TEST(ScriptProcessorNodeTest, BufferLifetime)
}
} // namespace blink
+
+#endif // ENABLE(WEB_AUDIO)

Powered by Google App Engine
This is Rietveld 408576698