Index: Source/WebKit/chromium/tests/RunAllTests.cpp |
diff --git a/Source/WebKit/chromium/tests/RunAllTests.cpp b/Source/WebKit/chromium/tests/RunAllTests.cpp |
index 480b605ff9e94d62c38ee0e5cc7dd58160aa608b..f38189dd3edc64bd30cd2e59b8ba7a93d0235a1b 100644 |
--- a/Source/WebKit/chromium/tests/RunAllTests.cpp |
+++ b/Source/WebKit/chromium/tests/RunAllTests.cpp |
@@ -32,10 +32,9 @@ |
#include "config.h" |
#endif |
-// FIXME: Avoid this source dependency on Chromium's base module. |
-#include <base/test/test_suite.h> |
- |
+#include "RuntimeEnabledFeatures.h" |
#include "WebKit.h" |
+#include <base/test/test_suite.h> // FIXME: Avoid this source dependency on Chromium's base module. |
Alpha Left Google
2013/04/25 22:07:12
Is it important to reorder these includes? If not
urvang (Google)
2013/04/26 01:46:23
Yes, this was needed to make 'check-webkit-style'
|
#include <public/Platform.h> |
#include <webkit/support/webkit_support.h> |
@@ -51,6 +50,7 @@ |
// and run inside webkit.dll. |
int main(int argc, char** argv) |
{ |
+ WebCore::RuntimeEnabledFeatures::setAnimatedWebPEnabled(true); |
Alpha Left Google
2013/04/25 22:07:12
I suggest doing this only in WebP test. You can de
urvang (Google)
2013/04/26 01:46:23
Done.
|
#if defined(WEBKIT_DLL_UNITTEST) |
WebKit::InitTestSuite(argc, argv); |
webkit_support::SetUpTestEnvironmentForUnitTests(); |