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

Unified Diff: Source/WebKit/chromium/tests/RunAllTests.cpp

Issue 13980003: Add animation support for WebP images (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Enclose under runtime flag Created 7 years, 8 months 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: 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();

Powered by Google App Engine
This is Rietveld 408576698