Index: Source/WebKit/chromium/src/WebRuntimeFeatures.cpp |
diff --git a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp |
index 1ea6358495a3e475101d436ce4d351b40e231095..7dba2b7b89e522adca947be7b14bf9c451c86a2f 100644 |
--- a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp |
+++ b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp |
@@ -574,4 +574,22 @@ bool WebRuntimeFeatures::isDoNotTrackEnabled() |
return RuntimeEnabledFeatures::doNotTrackEnabled(); |
} |
+void WebRuntimeFeatures::enableWebPInAcceptHeader(bool enable) |
+{ |
+#if USE(WEBP) |
+ RuntimeEnabledFeatures::setWebPInAcceptHeaderEnabled(enable); |
+#else |
+ UNUSED_PARAM(enable); |
+#endif |
+} |
+ |
+bool WebRuntimeFeatures::isWebPInAcceptHeaderEnabled() |
+{ |
+#if USE(WEBP) |
+ return RuntimeEnabledFeatures::webPInAcceptHeaderEnabled(); |
+#else |
+ return false; |
+#endif |
+} |
+ |
} // namespace WebKit |