| Index: Source/web/WebRuntimeFeatures.cpp
|
| diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp
|
| index 37d0ed0283a0f9ec3c5a8b0326196975d390c279..6653689deaaf557c223bc16b17fbe05605f83eb6 100644
|
| --- a/Source/web/WebRuntimeFeatures.cpp
|
| +++ b/Source/web/WebRuntimeFeatures.cpp
|
| @@ -32,6 +32,7 @@
|
| #include "public/web/WebRuntimeFeatures.h"
|
|
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| +#include "wtf/Assertions.h"
|
|
|
| namespace blink {
|
|
|
| @@ -45,11 +46,17 @@ void WebRuntimeFeatures::enableWebBluetooth(bool enable)
|
| RuntimeEnabledFeatures::setWebBluetoothEnabled(enable);
|
| }
|
|
|
| -void WebRuntimeFeatures::enableFeatureFromString(const WebString& name, bool enable)
|
| +void WebRuntimeFeatures::enableFeatureFromString(const std::string& name, bool enable)
|
| {
|
| RuntimeEnabledFeatures::setFeatureEnabledFromString(name, enable);
|
| }
|
|
|
| +// TODO(bashi): Remove.
|
| +void WebRuntimeFeatures::enableFeatureFromString(const WebString& name, bool enable)
|
| +{
|
| + RuntimeEnabledFeatures::setFeatureEnabledFromString(name.latin1(), enable);
|
| +}
|
| +
|
| void WebRuntimeFeatures::enableBleedingEdgeFastPaths(bool enable)
|
| {
|
| ASSERT(enable);
|
|
|