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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: third_party/WebKit/Source/core/html/forms/FormController.h
diff --git a/third_party/WebKit/Source/core/html/forms/FormController.h b/third_party/WebKit/Source/core/html/forms/FormController.h
index d877b5f2f2c0c0360f5e9d139a064200ae1beae1..ca6884dba8b87820768d6d2ed61765b06115548e 100644
--- a/third_party/WebKit/Source/core/html/forms/FormController.h
+++ b/third_party/WebKit/Source/core/html/forms/FormController.h
@@ -74,10 +74,9 @@ inline void FormControlState::append(const String& value)
using SavedFormStateMap = HashMap<AtomicString, OwnPtr<SavedFormState>>;
-class DocumentState final : public RefCountedWillBeGarbageCollected<DocumentState> {
- DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DocumentState);
+class DocumentState final : public GarbageCollected<DocumentState> {
public:
- static PassRefPtrWillBeRawPtr<DocumentState> create();
+ static RawPtr<DocumentState> create();
DECLARE_TRACE();
void addControl(HTMLFormControlElementWithState*);
@@ -85,14 +84,13 @@ public:
Vector<String> toStateVector();
private:
- using FormElementListHashSet = WillBeHeapListHashSet<RefPtrWillBeMember<HTMLFormControlElementWithState>, 64>;
+ using FormElementListHashSet = HeapListHashSet<Member<HTMLFormControlElementWithState>, 64>;
FormElementListHashSet m_formControls;
};
-class FormController final : public NoBaseWillBeGarbageCollectedFinalized<FormController> {
- USING_FAST_MALLOC_WILL_BE_REMOVED(FormController);
+class FormController final : public GarbageCollectedFinalized<FormController> {
public:
- static PassOwnPtrWillBeRawPtr<FormController> create()
+ static RawPtr<FormController> create()
{
return adoptPtrWillBeNoop(new FormController);
}
@@ -116,9 +114,9 @@ private:
FormControlState takeStateForFormElement(const HTMLFormControlElementWithState&);
static void formStatesFromStateVector(const Vector<String>&, SavedFormStateMap&);
- RefPtrWillBeMember<DocumentState> m_documentState;
+ Member<DocumentState> m_documentState;
SavedFormStateMap m_savedFormStateMap;
- OwnPtrWillBeMember<FormKeyGenerator> m_formKeyGenerator;
+ Member<FormKeyGenerator> m_formKeyGenerator;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698