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

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

Issue 1317053004: Make VisiblePosition constructor private (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-09-02T12:44:47 Rebase Created 5 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
« no previous file with comments | « Source/core/html/HTMLTextFormControlElement.cpp ('k') | Source/core/svg/SVGTextContentElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTextFormControlElementTest.cpp
diff --git a/Source/core/html/HTMLTextFormControlElementTest.cpp b/Source/core/html/HTMLTextFormControlElementTest.cpp
index d27b23ee936a9420c1041562f2bc53714d31d078..935452d5c119cb714a316ed702b34160fb1b8ca0 100644
--- a/Source/core/html/HTMLTextFormControlElementTest.cpp
+++ b/Source/core/html/HTMLTextFormControlElementTest.cpp
@@ -136,9 +136,9 @@ typedef VisiblePosition(*VisblePositionFunction)(const VisiblePosition&);
void testFunctionEquivalence(const Position& position, PositionFunction positionFunction, VisblePositionFunction visibleFunction)
{
- VisiblePosition visiblePosition(position);
+ VisiblePosition visiblePosition = createVisiblePosition(position);
VisiblePosition expected = visibleFunction(visiblePosition);
- VisiblePosition actual = VisiblePosition(positionFunction(position));
+ VisiblePosition actual = createVisiblePosition(positionFunction(position));
EXPECT_EQ(expected.deepEquivalent(), actual.deepEquivalent());
}
« no previous file with comments | « Source/core/html/HTMLTextFormControlElement.cpp ('k') | Source/core/svg/SVGTextContentElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698