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

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: 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/src/WebRuntimeFeatures.cpp
diff --git a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
index 08b9a04dd0eb66b081d98c007ee0152f135bd1f7..bf736375002405a994d363a8024e743c97e94518 100644
--- a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
+++ b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
@@ -566,4 +566,14 @@ bool WebRuntimeFeatures::isWebMIDIEnabled()
return RuntimeEnabledFeatures::webMIDIEnabled();
}
+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