Index: Source/web/WebRuntimeFeatures.cpp |
diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp |
index eb374e7046068e3631e715de1569489aedf80e00..1ce5c2d7b20e7b1765c3234c56fde2f23a9241f5 100644 |
--- a/Source/web/WebRuntimeFeatures.cpp |
+++ b/Source/web/WebRuntimeFeatures.cpp |
@@ -465,4 +465,9 @@ void WebRuntimeFeatures::enableRepaintAfterLayout(bool enable) |
RuntimeEnabledFeatures::setRepaintAfterLayoutEnabled(enable); |
} |
+void WebRuntimeFeatures::enableOptimizedLayoutOnViewHeightChange(bool enable) |
+{ |
+ RuntimeEnabledFeatures::setOptimizedLayoutOnViewHeightChangeEnabled(enable); |
+} |
+ |
} // namespace blink |