diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
commit | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (patch) | |
tree | d49911209b132da58d838efa852daf28d516df21 /WebCore/dom/NamedAttrMap.h | |
parent | 87eb0cb35bad8784770ebc807e6c982432e47107 (diff) | |
download | external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.zip external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.gz external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.bz2 |
Initial Contribution
Diffstat (limited to 'WebCore/dom/NamedAttrMap.h')
-rw-r--r-- | WebCore/dom/NamedAttrMap.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/WebCore/dom/NamedAttrMap.h b/WebCore/dom/NamedAttrMap.h index dd57284..21e8ce8 100644 --- a/WebCore/dom/NamedAttrMap.h +++ b/WebCore/dom/NamedAttrMap.h @@ -68,8 +68,7 @@ public: // used during parsing: only inserts if not already there // no error checking! - void insertAttribute(PassRefPtr<Attribute> newAttribute, bool allowDuplicates) - { + void insertAttribute(PassRefPtr<Attribute> newAttribute, bool allowDuplicates) { ASSERT(!element); if (allowDuplicates || !getAttributeItem(newAttribute->name())) addAttribute(newAttribute); @@ -84,7 +83,7 @@ public: protected: // this method is internal, does no error checking at all - void addAttribute(PassRefPtr<Attribute>); + void addAttribute(PassRefPtr<Attribute> newAttribute); // this method is internal, does no error checking at all void removeAttribute(const QualifiedName& name); virtual void clearAttributes(); |