| Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObjectTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObjectTest.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObjectTest.cpp
|
| index ea4a0682bb25f76ca9f374fa462f62b79168d3d2..00a895daef38c8c34f14f63333953124f0bbb3b4 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObjectTest.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObjectTest.cpp
|
| @@ -312,9 +312,7 @@ TEST_F(LayoutBoxModelObjectTest, StickyPositionConstraintInvalidation) {
|
| scrollable_area->GetStickyConstraintsMap().at(sticky->Layer()))
|
| .Location()
|
| .X());
|
| - ToHTMLElement(target->GetNode())
|
| - ->classList()
|
| - .add("hide", ASSERT_NO_EXCEPTION);
|
| + ToHTMLElement(target->GetNode())->classList().Add("hide");
|
| GetDocument().View()->UpdateLifecycleToLayoutClean();
|
| // Layout should invalidate the sticky constraints of the sticky element and
|
| // mark it as needing a compositing inputs update.
|
|
|