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

Unified Diff: Source/core/layout/LayoutBR.cpp

Issue 1303653002: Introduce LayoutObject::createPositionWithAffinity(int offset) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-19T12:20:28 Created 5 years, 4 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 | « no previous file | Source/core/layout/LayoutBlock.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutBR.cpp
diff --git a/Source/core/layout/LayoutBR.cpp b/Source/core/layout/LayoutBR.cpp
index 2dd81e0448fb312398aa0710d8c64c3d13a0b021..7ddd1277d1311dfba5bf9c31b24f1d073132a336 100644
--- a/Source/core/layout/LayoutBR.cpp
+++ b/Source/core/layout/LayoutBR.cpp
@@ -67,7 +67,7 @@ int LayoutBR::caretMaxOffset() const
PositionWithAffinity LayoutBR::positionForPoint(const LayoutPoint&)
{
- return createPositionWithAffinity(0, DOWNSTREAM);
+ return createPositionWithAffinity(0);
}
} // namespace blink
« no previous file with comments | « no previous file | Source/core/layout/LayoutBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698