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

Unified Diff: Source/core/html/forms/FormController.h

Issue 934163004: Modernize coding style in core/html/forms/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 10 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 | « Source/core/html/forms/FileInputType.h ('k') | Source/core/html/forms/FormController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/FormController.h
diff --git a/Source/core/html/forms/FormController.h b/Source/core/html/forms/FormController.h
index acad5dbc9c3f26e0b993d279c2336cb768cbe7e6..74e853dee1642d49eab8cb2f8231eeefa11ebd3a 100644
--- a/Source/core/html/forms/FormController.h
+++ b/Source/core/html/forms/FormController.h
@@ -71,7 +71,7 @@ inline void FormControlState::append(const String& value)
m_values.append(value);
}
-typedef HashMap<AtomicString, OwnPtr<SavedFormState>> SavedFormStateMap;
+using SavedFormStateMap = HashMap<AtomicString, OwnPtr<SavedFormState>>;
class DocumentState final : public RefCountedWillBeGarbageCollected<DocumentState> {
DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DocumentState);
@@ -84,7 +84,7 @@ public:
Vector<String> toStateVector();
private:
- typedef WillBeHeapListHashSet<RefPtrWillBeMember<HTMLFormControlElementWithState>, 64> FormElementListHashSet;
+ using FormElementListHashSet = WillBeHeapListHashSet<RefPtrWillBeMember<HTMLFormControlElementWithState>, 64>;
FormElementListHashSet m_formControls;
};
« no previous file with comments | « Source/core/html/forms/FileInputType.h ('k') | Source/core/html/forms/FormController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698