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

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

Issue 324073002: Oilpan: Switch RefCountedGarbageCollected to GarbageCollectedFinalized for Node. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase and update Node base class list Created 6 years, 6 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/TemplateContentDocumentFragment.h ('k') | Source/core/dom/XMLDocument.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Text.cpp
diff --git a/Source/core/dom/Text.cpp b/Source/core/dom/Text.cpp
index da5b0301afeefb1ad6098e5aa3b85075ca46d790..333606a93c2b9f6906be1c0d0031b4bfb2ec361b 100644
--- a/Source/core/dom/Text.cpp
+++ b/Source/core/dom/Text.cpp
@@ -46,12 +46,12 @@ namespace WebCore {
PassRefPtrWillBeRawPtr<Text> Text::create(Document& document, const String& data)
{
- return adoptRefWillBeRefCountedGarbageCollected(new Text(document, data, CreateText));
+ return adoptRefWillBeNoop(new Text(document, data, CreateText));
}
PassRefPtrWillBeRawPtr<Text> Text::createEditingText(Document& document, const String& data)
{
- return adoptRefWillBeRefCountedGarbageCollected(new Text(document, data, CreateEditingText));
+ return adoptRefWillBeNoop(new Text(document, data, CreateEditingText));
}
PassRefPtrWillBeRawPtr<Node> Text::mergeNextSiblingNodesIfPossible()
« no previous file with comments | « Source/core/dom/TemplateContentDocumentFragment.h ('k') | Source/core/dom/XMLDocument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698