Index: third_party/WebKit/Source/core/layout/api/LineLayoutItem.h |
diff --git a/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h b/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h |
index 3e6b18a6ebe55756face70fcd2639e1fc4e0aaec..861f7b744dcb57fa1703b185b5f4861b283b4c7e 100644 |
--- a/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h |
+++ b/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h |
@@ -314,6 +314,11 @@ public: |
return m_layoutObject->createPositionWithAffinity(offset, affinity); |
} |
+ LineLayoutItem previousInPreOrder(const LayoutObject* stayWithin) const |
+ { |
+ return LineLayoutItem(m_layoutObject->previousInPreOrder(stayWithin)); |
+ } |
+ |
#ifndef NDEBUG |
const char* name() const |