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

Unified Diff: Source/core/dom/Attribute.h

Issue 688333002: Remove the Element.prefix setter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 1 month 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/Attribute.h
diff --git a/Source/core/dom/Attribute.h b/Source/core/dom/Attribute.h
index 59dc34f021fab74db82e75ec02118cfed5cf8ec8..d4710aea40d2b9ce78c246d74ec23ec781a7af5e 100644
--- a/Source/core/dom/Attribute.h
+++ b/Source/core/dom/Attribute.h
@@ -54,7 +54,6 @@ public:
bool matches(const QualifiedName&) const;
void setValue(const AtomicString& value) { m_value = value; }
- void setPrefix(const AtomicString& prefix) { m_name.setPrefix(prefix); }
// Note: This API is only for HTMLTreeBuilder. It is not safe to change the
// name of an attribute once parseAttribute has been called as DOM
« no previous file with comments | « LayoutTests/fast/dom/script-tests/node-prefix-setter-namespace-exception.js ('k') | Source/core/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698