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

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: some cleanup 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 99b86406227bdfb408d34e01379621542cecb168..24a020b414cde0263960d4cf37bd74f72ad9e94f 100644
--- a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
+++ b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
@@ -520,4 +520,14 @@ bool WebRuntimeFeatures::isSpeechSynthesisEnabled()
return RuntimeEnabledFeatures::speechSynthesisEnabled();
}
+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