Index: third_party/WebKit/Source/core/dom/Element.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp |
index 330388de3b891c2d806ea43740c1a4e2803bb2f2..467981e8cc2458027877c9765e602826fd2744aa 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -467,9 +467,6 @@ void Element::scrollIntoView(ScrollIntoViewOptionsOrBoolean arg) { |
options.behavior() == "smooth") { |
options.setBehavior("instant"); |
} |
- } else if (arg.isNull()) { |
- options.setBlock("start"); |
- options.setInlinePosition("nearest"); |
} |
scrollIntoViewWithOptions(options); |
} |