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

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

Issue 112843002: Make calls to AtomicString(const String&) explicit in dom/ (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
« no previous file with comments | « no previous file | Source/core/dom/ClassNodeList.h » ('j') | Source/core/dom/ClassNodeList.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Attr.cpp
diff --git a/Source/core/dom/Attr.cpp b/Source/core/dom/Attr.cpp
index b67b2818f656b511133a9961d0c73f0178ec4041..f87cb6c33d2d173f129d77016be602137c94b5cb 100644
--- a/Source/core/dom/Attr.cpp
+++ b/Source/core/dom/Attr.cpp
@@ -143,7 +143,7 @@ void Attr::setValue(const AtomicString& value, ExceptionState&)
void Attr::setNodeValue(const String& v)
eseidel 2013/12/15 16:51:26 Does this eventually change to AtomicString too?
Inactive 2013/12/16 14:26:27 The reason I did not update setNodeValue() to take
eseidel 2013/12/30 17:19:27 But why are values atomic in the first place? Wha
Inactive 2013/12/30 19:53:34 Node values are not atomic, they are Strings and I
{
- setValue(v, IGNORE_EXCEPTION);
+ setValue(AtomicString(v), IGNORE_EXCEPTION);
}
PassRefPtr<Node> Attr::cloneNode(bool /*deep*/)
« no previous file with comments | « no previous file | Source/core/dom/ClassNodeList.h » ('j') | Source/core/dom/ClassNodeList.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698