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

Unified Diff: Source/core/layout/line/LineBreaker.cpp

Issue 910083002: Constify and use LayoutStyle reference in layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined again Created 5 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
« no previous file with comments | « Source/core/layout/line/InlineIterator.h ('k') | Source/core/layout/style/LayoutStyle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/line/LineBreaker.cpp
diff --git a/Source/core/layout/line/LineBreaker.cpp b/Source/core/layout/line/LineBreaker.cpp
index e24ea3fbe6699a843cda8c64f61a324b8b78e463..15b1228cab4cbbc152cee65ac460d8fd15e81766 100644
--- a/Source/core/layout/line/LineBreaker.cpp
+++ b/Source/core/layout/line/LineBreaker.cpp
@@ -66,7 +66,7 @@ InlineIterator LineBreaker::nextLineBreak(InlineBidiResolver& resolver, LineInfo
bool appliedStartWidth = resolver.position().offset() > 0;
- LineWidth width(*m_block, lineInfo.isFirstLine(), requiresIndent(lineInfo.isFirstLine(), lineInfo.previousLineBrokeCleanly(), m_block->style()));
+ LineWidth width(*m_block, lineInfo.isFirstLine(), requiresIndent(lineInfo.isFirstLine(), lineInfo.previousLineBrokeCleanly(), m_block->styleRef()));
skipLeadingWhitespace(resolver, lineInfo, lastFloatFromPreviousLine, width);
« no previous file with comments | « Source/core/layout/line/InlineIterator.h ('k') | Source/core/layout/style/LayoutStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698