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

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

Issue 2341053002: Mark the createVisiblePosition overloads as deprecated (Closed)
Patch Set: minor revision Created 4 years, 3 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 f016cb9f24ec89394171a5592af018e6cbd00b88..8d6255521c64ac2adda8da8a2d8f0e10b9ad1322 100644
--- a/third_party/WebKit/Source/core/html/HTMLTextFormControlElementTest.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLTextFormControlElementTest.cpp
@@ -129,9 +129,9 @@ typedef VisiblePosition(*VisblePositionFunction)(const VisiblePosition&);
void testFunctionEquivalence(const Position& position, PositionFunction positionFunction, VisblePositionFunction visibleFunction)
{
- VisiblePosition visiblePosition = createVisiblePosition(position);
+ VisiblePosition visiblePosition = createVisiblePositionDeprecated(position);
VisiblePosition expected = visibleFunction(visiblePosition);
- VisiblePosition actual = createVisiblePosition(positionFunction(position));
+ VisiblePosition actual = createVisiblePositionDeprecated(positionFunction(position));
EXPECT_EQ(expected.deepEquivalent(), actual.deepEquivalent());
}

Powered by Google App Engine
This is Rietveld 408576698