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

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

Issue 1743803002: Rename enums/functions that collide in chromium style in core/style/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-8
Patch Set: get-names-9: rebase Created 4 years, 10 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/BreakingContextInlineHeaders.h
diff --git a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
index 0490fe754bd80af881232acea63b8cbfbe43e89d..02872607cab2d2e4eb5cbfca4b1a5fa80db188f3 100644
--- a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
+++ b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
@@ -535,7 +535,7 @@ ALWAYS_INLINE float textWidth(LineLayoutText text, unsigned from, unsigned len,
return text.width(from, len, font, LayoutUnit(xPos), text.style()->direction(), fallbackFonts, glyphBounds);
TextRun run = constructTextRun(font, text, from, len, text.styleRef());
- run.setTabSize(!collapseWhiteSpace, text.style()->tabSize());
+ run.setTabSize(!collapseWhiteSpace, text.style()->getTabSize());
run.setXPos(xPos);
return font.width(run, fallbackFonts, glyphBounds);
}
@@ -975,10 +975,10 @@ inline void BreakingContext::commitAndUpdateLineBreakIfNeeded()
inline IndentTextOrNot requiresIndent(bool isFirstLine, bool isAfterHardLineBreak, const ComputedStyle& style)
{
IndentTextOrNot indentText = DoNotIndentText;
- if (isFirstLine || (isAfterHardLineBreak && style.textIndentLine()) == TextIndentEachLine)
+ if (isFirstLine || (isAfterHardLineBreak && style.getTextIndentLine()) == TextIndentEachLine)
indentText = IndentText;
- if (style.textIndentType() == TextIndentHanging)
+ if (style.getTextIndentType() == TextIndentHanging)
indentText = indentText == IndentText ? DoNotIndentText : IndentText;
return indentText;
« no previous file with comments | « third_party/WebKit/Source/core/layout/TextAutosizer.cpp ('k') | third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698