Index: third_party/WebKit/Source/core/layout/api/LineLayoutText.h |
diff --git a/third_party/WebKit/Source/core/layout/api/LineLayoutText.h b/third_party/WebKit/Source/core/layout/api/LineLayoutText.h |
index 1650ef86c043ca913691dc0744119f1be19f94d7..d4fd97dd598b962833b10e9ea51e09713cec6095 100644 |
--- a/third_party/WebKit/Source/core/layout/api/LineLayoutText.h |
+++ b/third_party/WebKit/Source/core/layout/api/LineLayoutText.h |
@@ -154,6 +154,11 @@ public: |
return toText()->minLogicalWidth(); |
} |
+ void setLineBreakForTextWrap(bool hasLineBreakForTextWrap) |
+ { |
+ toText()->setLineBreakForTextWrap(hasLineBreakForTextWrap); |
+ } |
+ |
private: |
LayoutText* toText() { return toLayoutText(layoutObject()); } |
const LayoutText* toText() const { return toLayoutText(layoutObject()); } |