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

Unified Diff: Source/WebCore/dom/RangeBoundaryPoint.h

Issue 8666014: Merge 100827 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/912/
Patch Set: Created 9 years, 1 month 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 | « LayoutTests/fast/dom/move-detached-child-in-range-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/RangeBoundaryPoint.h
===================================================================
--- Source/WebCore/dom/RangeBoundaryPoint.h (revision 101033)
+++ Source/WebCore/dom/RangeBoundaryPoint.h (working copy)
@@ -59,7 +59,7 @@
RefPtr<Node> m_containerNode;
mutable int m_offsetInContainer;
- Node* m_childBeforeBoundary;
+ RefPtr<Node> m_childBeforeBoundary;
};
inline RangeBoundaryPoint::RangeBoundaryPoint(PassRefPtr<Node> container)
@@ -77,7 +77,7 @@
inline Node* RangeBoundaryPoint::childBefore() const
{
- return m_childBeforeBoundary;
+ return m_childBeforeBoundary.get();
}
inline void RangeBoundaryPoint::ensureOffsetIsValid() const
« no previous file with comments | « LayoutTests/fast/dom/move-detached-child-in-range-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698