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

Unified Diff: Source/web/WebRange.cpp

Issue 270573008: Oilpan: Prepare to support garbage-collected Node in WebNode hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add FIXME comments Created 6 years, 7 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/web/WebPluginDocument.cpp ('k') | Source/web/WebSearchableFormData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebRange.cpp
diff --git a/Source/web/WebRange.cpp b/Source/web/WebRange.cpp
index c43eed396c1bdfd670445cd10284eb40a5e7cdad..e30eff8aaf1d1159384c5b6ed2e80750d659b197 100644
--- a/Source/web/WebRange.cpp
+++ b/Source/web/WebRange.cpp
@@ -75,7 +75,7 @@ int WebRange::endOffset() const
WebNode WebRange::startContainer(WebExceptionCode& exceptionCode) const
{
// FIXME: Create a wrapper class that just sets the internal int.
- RefPtr<Node> node(m_private->startContainer());
+ RefPtrWillBeRawPtr<Node> node(m_private->startContainer());
exceptionCode = 0;
return node.release();
}
@@ -83,7 +83,7 @@ WebNode WebRange::startContainer(WebExceptionCode& exceptionCode) const
WebNode WebRange::endContainer(WebExceptionCode& exceptionCode) const
{
// FIXME: Create a wrapper class that just sets the internal int.
- RefPtr<Node> node(m_private->endContainer());
+ RefPtrWillBeRawPtr<Node> node(m_private->endContainer());
exceptionCode = 0;
return node.release();
}
« no previous file with comments | « Source/web/WebPluginDocument.cpp ('k') | Source/web/WebSearchableFormData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698