| Index: Source/core/frame/LocalDOMWindow.cpp
|
| diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp
|
| index 7cae1c9ad13a2a7001c1d43dcdc0ed710c1a540d..daccebb8c8765c4cecef60d429956e97c33b4df0 100644
|
| --- a/Source/core/frame/LocalDOMWindow.cpp
|
| +++ b/Source/core/frame/LocalDOMWindow.cpp
|
| @@ -27,6 +27,7 @@
|
| #include "config.h"
|
| #include "core/frame/LocalDOMWindow.h"
|
|
|
| +#include "bindings/core/v8/Dictionary.h"
|
| #include "bindings/core/v8/ExceptionMessages.h"
|
| #include "bindings/core/v8/ExceptionState.h"
|
| #include "bindings/core/v8/ExceptionStatePlaceholder.h"
|
| @@ -1366,7 +1367,7 @@ double LocalDOMWindow::devicePixelRatio() const
|
| static bool scrollBehaviorFromScrollOptions(const Dictionary& scrollOptions, ScrollBehavior& scrollBehavior, ExceptionState& exceptionState)
|
| {
|
| String scrollBehaviorString;
|
| - if (!scrollOptions.get("behavior", scrollBehaviorString)) {
|
| + if (!DictionaryHelper::get(scrollOptions, "behavior", scrollBehaviorString)) {
|
| scrollBehavior = ScrollBehaviorAuto;
|
| return true;
|
| }
|
|
|