Index: third_party/WebKit/Source/web/AssertMatchingEnums.cpp |
diff --git a/third_party/WebKit/Source/web/AssertMatchingEnums.cpp b/third_party/WebKit/Source/web/AssertMatchingEnums.cpp |
index 16646c3f3bcbe17a530d0d69a2d330daa5d59405..57eeec6829f17df3ad37b8ace454d3afee554e5a 100644 |
--- a/third_party/WebKit/Source/web/AssertMatchingEnums.cpp |
+++ b/third_party/WebKit/Source/web/AssertMatchingEnums.cpp |
@@ -99,6 +99,7 @@ |
#include "public/platform/WebMouseWheelEvent.h" |
#include "public/platform/WebPageVisibilityState.h" |
#include "public/platform/WebReferrerPolicy.h" |
+#include "public/platform/WebScrollBoundaryBehavior.h" |
#include "public/platform/WebScrollbar.h" |
#include "public/platform/WebScrollbarBehavior.h" |
#include "public/platform/WebSelectionBound.h" |
@@ -886,6 +887,14 @@ STATIC_ASSERT_ENUM( |
STATIC_ASSERT_ENUM(WebSettings::AutoplayPolicy::kDocumentUserActivationRequired, |
AutoplayPolicy::Type::kDocumentUserActivationRequired); |
+STATIC_ASSERT_ENUM(WebScrollBoundaryBehavior::kScrollBoundaryBehaviorTypeAuto, |
+ EScrollBoundaryBehavior::kAuto); |
+STATIC_ASSERT_ENUM( |
+ WebScrollBoundaryBehavior::kScrollBoundaryBehaviorTypeContain, |
+ EScrollBoundaryBehavior::kContain); |
+STATIC_ASSERT_ENUM(WebScrollBoundaryBehavior::kScrollBoundaryBehaviorTypeNone, |
+ EScrollBoundaryBehavior::kNone); |
+ |
// This ensures that the version number published in |
// WebSerializedScriptValueVersion.h matches the serializer's understanding. |
// TODO(jbroman): Fix this to also account for the V8-side version. See |