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

Unified Diff: Source/core/html/parser/HTMLParserIdioms.cpp

Issue 110843004: Replaced HTMLIdentifier with an atomized string factory function (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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/html/parser/HTMLParserIdioms.cpp
diff --git a/Source/core/html/parser/HTMLParserIdioms.cpp b/Source/core/html/parser/HTMLParserIdioms.cpp
index 2173ef531261f3be7ebcc273d7cee35f4005d787..d94e299129a3a63242f951018709d9aee3dfc24a 100644
--- a/Source/core/html/parser/HTMLParserIdioms.cpp
+++ b/Source/core/html/parser/HTMLParserIdioms.cpp
@@ -278,9 +278,9 @@ bool threadSafeMatch(const QualifiedName& a, const QualifiedName& b)
return threadSafeEqual(a.localName().impl(), b.localName().impl());
}
-bool threadSafeMatch(const HTMLIdentifier& localName, const QualifiedName& qName)
+bool threadSafeMatch(const String& localName, const QualifiedName& qName)
{
- return threadSafeEqual(localName.asStringImpl(), qName.localName().impl());
+ return threadSafeEqual(localName.impl(), qName.localName().impl());
}
}

Powered by Google App Engine
This is Rietveld 408576698