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

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

Issue 262093006: Oilpan: Make the Node hierarchy RefCountedGarbageCollected instead of TreeShared. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Another build fix. 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
Index: Source/core/dom/Attr.cpp
diff --git a/Source/core/dom/Attr.cpp b/Source/core/dom/Attr.cpp
index 901e711d5b86ce0b21a9565ac6adb543b3e80521..a56a2dfea1d5211232a922181f4f2543f9941154 100644
--- a/Source/core/dom/Attr.cpp
+++ b/Source/core/dom/Attr.cpp
@@ -75,7 +75,9 @@ Attr::~Attr()
void Attr::createTextChild()
{
+#if !ENABLE(OILPAN)
ASSERT(refCount());
+#endif
if (!value().isEmpty()) {
RefPtr<Text> textNode = document().createTextNode(value().string());

Powered by Google App Engine
This is Rietveld 408576698