Add WebRuntimeFeatures::enableCSSViewport() feature

Add WebRuntimeFeatures::enableCSSViewport() method that should substitute the unfortunately named 'WebRuntimeFeatures::setCSSViewportEnabled()'.

BUG=424459

Review URL: https://codereview.chromium.org/662003002

git-svn-id: svn://svn.chromium.org/blink/trunk@183899 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 8639cc82
......@@ -299,6 +299,11 @@ void WebRuntimeFeatures::setCSSViewportEnabled(bool enable)
RuntimeEnabledFeatures::setCSSViewportEnabled(enable);
}
void WebRuntimeFeatures::enableCSSViewport(bool enable)
{
RuntimeEnabledFeatures::setCSSViewportEnabled(enable);
}
void WebRuntimeFeatures::enableV8IdleTasks(bool enable)
{
RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable);
......
......@@ -137,8 +137,11 @@ public:
BLINK_EXPORT static void enableTextBlobs(bool);
// Note : Will be removed. Use enableCSSViewport() instead.
BLINK_EXPORT static void setCSSViewportEnabled(bool);
BLINK_EXPORT static void enableCSSViewport(bool);
BLINK_EXPORT static void enableV8IdleTasks(bool);
BLINK_EXPORT static void enableSVG1DOM(bool);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment