| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 1fcb888a0b40f5abef981886816abb3330f4eda7..a06872a7b6c5fd0027e4ce60a0f5e1b99b844ead 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -1798,7 +1798,7 @@ void Document::updateStyleIfNeeded()
|
| if (!needsStyleRecalc() && !childNeedsStyleRecalc() && !childNeedsDistributionRecalc())
|
| return;
|
|
|
| - AnimationUpdateBlock animationUpdateBlock(m_frame ? m_frame->animation() : 0);
|
| + AnimationUpdateBlock animationUpdateBlock(m_frame ? m_frame->animation().get() : 0);
|
| recalcStyle(NoChange);
|
| }
|
|
|
| @@ -3367,7 +3367,7 @@ void Document::removeFocusedElementOfSubtree(Node* node, bool amongChildrenOnly)
|
| if (!m_focusedElement)
|
| return;
|
|
|
| - Element* focusedElement = node->treeScope().adjustedFocusedElement();
|
| + Element* focusedElement = node->treeScope()->adjustedFocusedElement();
|
| if (!focusedElement)
|
| return;
|
|
|
|
|