| Index: Source/core/frame/LocalDOMWindow.cpp
|
| diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp
|
| index 9cd726432121d1ac2b889e4bf0cec871afa9f902..0bc27d40017ff6325fd47e4f9e4c7d5db818c309 100644
|
| --- a/Source/core/frame/LocalDOMWindow.cpp
|
| +++ b/Source/core/frame/LocalDOMWindow.cpp
|
| @@ -27,6 +27,8 @@
|
| #include "config.h"
|
| #include "core/frame/LocalDOMWindow.h"
|
|
|
| +#include "bindings/core/v8/Dictionary.h"
|
| +#include "bindings/core/v8/DictionaryHelper.h"
|
| #include "bindings/core/v8/ExceptionMessages.h"
|
| #include "bindings/core/v8/ExceptionState.h"
|
| #include "bindings/core/v8/ExceptionStatePlaceholder.h"
|
| @@ -1371,7 +1373,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;
|
| }
|
|
|