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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutText.h

Issue 2560383002: Merge 2924: Apply hyphenation when there is only one word in a paragraph (Closed)
Patch Set: Created 4 years 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
Index: third_party/WebKit/Source/core/layout/LayoutText.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutText.h b/third_party/WebKit/Source/core/layout/LayoutText.h
index 9df94450e42381ac11cec4c32ae478dc8994157e..4f8d0094fac52b980297a50666a633c36d54e110 100644
--- a/third_party/WebKit/Source/core/layout/LayoutText.h
+++ b/third_party/WebKit/Source/core/layout/LayoutText.h
@@ -128,6 +128,7 @@ class CORE_EXPORT LayoutText : public LayoutObject {
unsigned textLength() const {
return m_text.length();
} // non virtual implementation of length()
+ bool containsOnlyWhitespace(unsigned from, unsigned len) const;
void positionLineBox(InlineBox*);
virtual float width(unsigned from,
@@ -260,7 +261,6 @@ class CORE_EXPORT LayoutText : public LayoutObject {
}
void deleteTextBoxes();
- bool containsOnlyWhitespace(unsigned from, unsigned len) const;
float widthFromFont(const Font&,
int start,
int len,

Powered by Google App Engine
This is Rietveld 408576698