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

Unified Diff: Source/WebKit/chromium/src/WebRuntimeFeatures.cpp

Issue 13980003: Add animation support for WebP images (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adapt to recent animation code changes Created 7 years, 6 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/src/WebRuntimeFeatures.cpp
diff --git a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
index 0546de1dd4c62249b8adea1e68c418798791f4c2..08e33eb53c3c5fb8a66970a8bd96f6fa52cdcbff 100644
--- a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
+++ b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
@@ -600,4 +600,14 @@ bool WebRuntimeFeatures::isDataListElementEnabled()
return RuntimeEnabledFeatures::dataListElementEnabled();
}
+void WebRuntimeFeatures::enableAnimatedWebP(bool enable)
+{
+ RuntimeEnabledFeatures::setAnimatedWebPEnabled(enable);
+}
+
+bool WebRuntimeFeatures::isAnimatedWebPEnabled()
+{
+ return RuntimeEnabledFeatures::animatedWebPEnabled();
+}
+
} // namespace WebKit

Powered by Google App Engine
This is Rietveld 408576698