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

Unified Diff: third_party/WebKit/Source/core/layout/line/LineWidth.h

Issue 1583783002: Use IndentTextOrNot instead of a bool (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@568851-2
Patch Set: Created 4 years, 11 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
Index: third_party/WebKit/Source/core/layout/line/LineWidth.h
diff --git a/third_party/WebKit/Source/core/layout/line/LineWidth.h b/third_party/WebKit/Source/core/layout/line/LineWidth.h
index 89fca11d2ef08692111c35649af29490169109e2..1b830e4dc13e4e686821686147f1f79829aef096 100644
--- a/third_party/WebKit/Source/core/layout/line/LineWidth.h
+++ b/third_party/WebKit/Source/core/layout/line/LineWidth.h
@@ -39,7 +39,6 @@ namespace blink {
class FloatingObject;
class LineLayoutRubyRun;
-enum IndentTextOrNot { DoNotIndentText, IndentText };
enum WhitespaceTreatment { ExcludeWhitespace, IncludeWhitespace };
class LineWidth {
@@ -75,6 +74,7 @@ public:
void snapUncommittedWidth() { m_uncommittedWidth = LayoutUnit(m_uncommittedWidth).toFloat(); }
bool shouldIndentText() const { return m_shouldIndentText == IndentText; }
Julien - ping for review 2016/01/14 16:50:34 Do we still have users of this? If so, we should p
+ IndentTextOrNot indentText() const { return m_shouldIndentText ; }
private:
void computeAvailableWidthFromLeftAndRight();

Powered by Google App Engine
This is Rietveld 408576698