Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(444)

Unified Diff: Source/core/dom/Document.cpp

Issue 23890025: WIP (Introduce WTF::NonNullPtr<T>.) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/ContainerNode.cpp ('k') | Source/core/dom/Element.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/dom/ContainerNode.cpp ('k') | Source/core/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698