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

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: 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/src/WebRuntimeFeatures.cpp
diff --git a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
index e6df9cb172f09af0a9fe6c5f9b2c4bdd52ac38c8..5aa2254610f36a8fe29259b0a6ae9b8067b91018 100644
--- a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
+++ b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
@@ -556,4 +556,14 @@ bool WebRuntimeFeatures::isIMEAPIEnabled()
return RuntimeEnabledFeatures::imeAPIEnabled();
}
+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