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

Unified Diff: Source/core/editing/EditingTestBase.cpp

Issue 1213483003: Get rid of redundant parameter PositionIsOffsetInAnchor from PositionAlgorithm constructor (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/editing/ApplyStyleCommand.cpp ('k') | Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/EditingTestBase.cpp
diff --git a/Source/core/editing/EditingTestBase.cpp b/Source/core/editing/EditingTestBase.cpp
index 16226f71cc9dbf615a8d5fbf6aebba5c93c3301c..5994be53756a25d5d8fb489fcebed5efe53fa2db 100644
--- a/Source/core/editing/EditingTestBase.cpp
+++ b/Source/core/editing/EditingTestBase.cpp
@@ -58,12 +58,12 @@ void EditingTestBase::updateLayoutAndStyleForPainting()
Position EditingTestBase::positionInDOMTree(Node& anchor, int offset)
{
- return Position(&anchor, offset, Position::PositionIsOffsetInAnchor);
+ return Position(&anchor, offset);
}
PositionInComposedTree EditingTestBase::positionInComposedTree(Node& anchor, int offset)
{
- return PositionInComposedTree(&anchor, offset, PositionInComposedTree::PositionIsOffsetInAnchor);
+ return PositionInComposedTree(&anchor, offset);
}
} // namespace blink
« no previous file with comments | « Source/core/editing/ApplyStyleCommand.cpp ('k') | Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698