Index: Source/core/editing/VisibleUnits.cpp |
diff --git a/Source/core/editing/VisibleUnits.cpp b/Source/core/editing/VisibleUnits.cpp |
index 64518ec2174effabb75b274eda7c18bbd87dbaac..fe2d37e981ec22eea4846e8caa42da4c42b23855 100644 |
--- a/Source/core/editing/VisibleUnits.cpp |
+++ b/Source/core/editing/VisibleUnits.cpp |
@@ -896,6 +896,11 @@ bool isEndOfLine(const VisiblePosition &p) |
return p.isNotNull() && p == endOfLine(p); |
} |
+bool isLogicalEndOfLine(const VisiblePosition &p) |
+{ |
+ return p.isNotNull() && p == logicalEndOfLine(p); |
+} |
+ |
static inline IntPoint absoluteLineDirectionPointToLocalPointInBlock(RootInlineBox* root, int lineDirectionPoint) |
{ |
ASSERT(root); |