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

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: Debug fix 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 73609a9058fe5a5b686b2677e78d39eac4a83ef1..a83c9eb80619c1af4b429a9bcdaca7e72904a752 100644
--- a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
+++ b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
@@ -612,4 +612,14 @@ bool WebRuntimeFeatures::isInputTypeColorEnabled()
return RuntimeEnabledFeatures::inputTypeColorEnabled();
}
+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