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

Unified Diff: third_party/WebKit/Source/core/html/HTMLTextFormControlElementTest.cpp

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/HTMLTextFormControlElementTest.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLTextFormControlElementTest.cpp b/third_party/WebKit/Source/core/html/HTMLTextFormControlElementTest.cpp
index f2ad8b49c796694e104ba9dc5a7826f853ee4d0d..93529b68a07debdec44d14427a5ff1cb3821ca3d 100644
--- a/third_party/WebKit/Source/core/html/HTMLTextFormControlElementTest.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLTextFormControlElementTest.cpp
@@ -41,9 +41,9 @@ private:
OwnPtr<SpellCheckerClient> m_spellCheckerClient;
OwnPtr<DummyPageHolder> m_dummyPageHolder;
- RefPtrWillBePersistent<HTMLDocument> m_document;
- RefPtrWillBePersistent<HTMLTextFormControlElement> m_textControl;
- RefPtrWillBePersistent<HTMLInputElement> m_input;
+ Persistent<HTMLDocument> m_document;
+ Persistent<HTMLTextFormControlElement> m_textControl;
+ Persistent<HTMLInputElement> m_input;
};
class DummySpellCheckerClient : public EmptySpellCheckerClient {
@@ -207,7 +207,7 @@ TEST_F(HTMLTextFormControlElementTest, SpellCheckDoesNotCauseUpdateLayout)
document().frame()->selection().setSelection(newSelection, FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle | FrameSelection::DoNotUpdateAppearance);
ASSERT_EQ(3, input->selectionStart());
- OwnPtrWillBePersistent<SpellChecker> spellChecker(SpellChecker::create(page().frame()));
+ Persistent<SpellChecker> spellChecker(SpellChecker::create(page().frame()));
forceLayoutFlag();
int startCount = layoutCount();
spellChecker->respondToChangedSelection(oldSelection, FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle);

Powered by Google App Engine
This is Rietveld 408576698