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

Unified Diff: third_party/WebKit/Source/core/editing/InputMethodControllerTest.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/editing/InputMethodControllerTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp b/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
index 20ad741e29ee338811f10d097b8fd032d3a5451a..8378cfd7faeab0d62587fa4938265288c6028f32 100644
--- a/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
+++ b/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
@@ -26,7 +26,7 @@ private:
void SetUp() override;
OwnPtr<DummyPageHolder> m_dummyPageHolder;
- RefPtrWillBePersistent<HTMLDocument> m_document;
+ Persistent<HTMLDocument> m_document;
};
void InputMethodControllerTest::SetUp()
@@ -97,7 +97,7 @@ TEST_F(InputMethodControllerTest, SetCompositionFromExistingText)
underlines.append(CompositionUnderline(0, 5, Color(255, 0, 0), false, 0));
controller().setCompositionFromExistingText(underlines, 0, 5);
- RefPtrWillBeRawPtr<Range> range = controller().compositionRange();
+ RawPtr<Range> range = controller().compositionRange();
EXPECT_EQ(0, range->startOffset());
EXPECT_EQ(5, range->endOffset());
@@ -157,7 +157,7 @@ TEST_F(InputMethodControllerTest, SetCompositionFromExistingTextWithCollapsedWhi
underlines.append(CompositionUnderline(0, 5, Color(255, 0, 0), false, 0));
controller().setCompositionFromExistingText(underlines, 0, 5);
- RefPtrWillBeRawPtr<Range> range = controller().compositionRange();
+ RawPtr<Range> range = controller().compositionRange();
EXPECT_EQ(1, range->startOffset());
EXPECT_EQ(6, range->endOffset());

Powered by Google App Engine
This is Rietveld 408576698