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

Unified Diff: trunk/Source/core/editing/MarkupAccumulator.cpp

Issue 18196004: Revert 153294 "Remove AtomicStringImpl." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 7 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
Index: trunk/Source/core/editing/MarkupAccumulator.cpp
===================================================================
--- trunk/Source/core/editing/MarkupAccumulator.cpp (revision 153372)
+++ trunk/Source/core/editing/MarkupAccumulator.cpp (working copy)
@@ -286,8 +286,8 @@
return;
// Use emptyAtoms's impl() for both null and empty strings since the HashMap can't handle 0 as a key
- StringImpl* pre = prefix.isEmpty() ? emptyAtom.impl() : prefix.impl();
- StringImpl* foundNS = namespaces.get(pre);
+ AtomicStringImpl* pre = prefix.isEmpty() ? emptyAtom.impl() : prefix.impl();
+ AtomicStringImpl* foundNS = namespaces.get(pre);
if (foundNS != namespaceURI.impl()) {
namespaces.set(pre, namespaceURI.impl());
result.append(' ');
« no previous file with comments | « trunk/Source/core/editing/MarkupAccumulator.h ('k') | trunk/Source/core/editing/SetNodeAttributeCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698