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

Unified Diff: Source/core/editing/FrameSelection.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/shadow/ShadowRoot.h ('k') | Source/core/editing/VisibleSelection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/FrameSelection.cpp
diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp
index 7e82d300fca1e6497bb7bf83caa38bf61647ec67..00240cc8108c383cf5aefed609830af4cd32c56f 100644
--- a/Source/core/editing/FrameSelection.cpp
+++ b/Source/core/editing/FrameSelection.cpp
@@ -114,7 +114,7 @@ Node* FrameSelection::rootEditableElementOrTreeScopeRootNode() const
return selectionRoot;
Node* node = m_selection.base().containerNode();
- return node ? node->treeScope().rootNode() : 0;
+ return node ? node->treeScope()->rootNode() : 0;
}
Element* FrameSelection::rootEditableElementRespectingShadowTree() const
« no previous file with comments | « Source/core/dom/shadow/ShadowRoot.h ('k') | Source/core/editing/VisibleSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698