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

Unified Diff: trunk/Source/core/html/FormController.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
« no previous file with comments | « trunk/Source/core/html/FormController.h ('k') | trunk/Source/core/html/HTMLCollection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/core/html/FormController.cpp
===================================================================
--- trunk/Source/core/html/FormController.cpp (revision 153372)
+++ trunk/Source/core/html/FormController.cpp (working copy)
@@ -81,13 +81,13 @@
class FormElementKey {
public:
- FormElementKey(StringImpl* = 0, StringImpl* = 0);
+ FormElementKey(AtomicStringImpl* = 0, AtomicStringImpl* = 0);
~FormElementKey();
FormElementKey(const FormElementKey&);
FormElementKey& operator=(const FormElementKey&);
- StringImpl* name() const { return m_name; }
- StringImpl* type() const { return m_type; }
+ AtomicStringImpl* name() const { return m_name; }
+ AtomicStringImpl* type() const { return m_type; }
// Hash table deleted values, which are only constructed and never copied or destroyed.
FormElementKey(WTF::HashTableDeletedValueType) : m_name(hashTableDeletedValue()) { }
@@ -97,13 +97,13 @@
void ref() const;
void deref() const;
- static StringImpl* hashTableDeletedValue() { return reinterpret_cast<StringImpl*>(-1); }
+ static AtomicStringImpl* hashTableDeletedValue() { return reinterpret_cast<AtomicStringImpl*>(-1); }
- StringImpl* m_name;
- StringImpl* m_type;
+ AtomicStringImpl* m_name;
+ AtomicStringImpl* m_type;
};
-FormElementKey::FormElementKey(StringImpl* name, StringImpl* type)
+FormElementKey::FormElementKey(AtomicStringImpl* name, AtomicStringImpl* type)
: m_name(name)
, m_type(type)
{
« no previous file with comments | « trunk/Source/core/html/FormController.h ('k') | trunk/Source/core/html/HTMLCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698