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

Unified Diff: Source/core/html/HTMLFormElement.h

Issue 656723005: Use C++11 features in core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: mike's comments 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
« no previous file with comments | « Source/core/html/HTMLFormControlsCollection.cpp ('k') | Source/core/html/HTMLFormElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFormElement.h
diff --git a/Source/core/html/HTMLFormElement.h b/Source/core/html/HTMLFormElement.h
index cf6f6896714cf29ad6fd30e121c19e7fb8042131..3ec181cad4b5ef78b48c5ac62f94668bdf9528b1 100644
--- a/Source/core/html/HTMLFormElement.h
+++ b/Source/core/html/HTMLFormElement.h
@@ -51,7 +51,7 @@ public:
void setNeedsValidityCheck();
PassRefPtrWillBeRawPtr<HTMLFormControlsCollection> elements();
- void getNamedElements(const AtomicString&, WillBeHeapVector<RefPtrWillBeMember<Element> >&);
+ void getNamedElements(const AtomicString&, WillBeHeapVector<RefPtrWillBeMember<Element>>&);
unsigned length() const;
HTMLElement* item(unsigned index);
@@ -116,7 +116,7 @@ public:
RadioButtonGroupScope& radioButtonGroupScope() { return m_radioButtonGroupScope; }
const FormAssociatedElement::List& associatedElements() const;
- const WillBeHeapVector<RawPtrWillBeMember<HTMLImageElement> >& imageElements();
+ const WillBeHeapVector<RawPtrWillBeMember<HTMLImageElement>>& imageElements();
void anonymousNamedGetter(const AtomicString& name, RadioNodeListOrElement&);
@@ -145,7 +145,7 @@ private:
void scheduleFormSubmission(PassRefPtrWillBeRawPtr<FormSubmission>);
void collectAssociatedElements(Node& root, FormAssociatedElement::List&) const;
- void collectImageElements(Node& root, WillBeHeapVector<RawPtrWillBeMember<HTMLImageElement> >&);
+ void collectImageElements(Node& root, WillBeHeapVector<RawPtrWillBeMember<HTMLImageElement>>&);
// Returns true if the submission should proceed.
bool validateInteractively();
@@ -153,13 +153,13 @@ private:
// Validates each of the controls, and stores controls of which 'invalid'
// event was not canceled to the specified vector. Returns true if there
// are any invalid controls in this form.
- bool checkInvalidControlsAndCollectUnhandled(WillBeHeapVector<RefPtrWillBeMember<HTMLFormControlElement> >*, CheckValidityEventBehavior);
+ bool checkInvalidControlsAndCollectUnhandled(WillBeHeapVector<RefPtrWillBeMember<HTMLFormControlElement>>*, CheckValidityEventBehavior);
Element* elementFromPastNamesMap(const AtomicString&);
void addToPastNamesMap(Element*, const AtomicString& pastName);
void removeFromPastNamesMap(HTMLElement&);
- typedef WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<Element> > PastNamesMap;
+ typedef WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<Element>> PastNamesMap;
FormSubmission::Attributes m_attributes;
OwnPtrWillBeMember<PastNamesMap> m_pastNamesMap;
@@ -169,7 +169,7 @@ private:
// Do not access m_associatedElements directly. Use associatedElements() instead.
FormAssociatedElement::List m_associatedElements;
// Do not access m_imageElements directly. Use imageElements() instead.
- WillBeHeapVector<RawPtrWillBeMember<HTMLImageElement> > m_imageElements;
+ WillBeHeapVector<RawPtrWillBeMember<HTMLImageElement>> m_imageElements;
#if !ENABLE(OILPAN)
WeakPtrFactory<HTMLFormElement> m_weakPtrFactory;
#endif
« no previous file with comments | « Source/core/html/HTMLFormControlsCollection.cpp ('k') | Source/core/html/HTMLFormElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698