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

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

Issue 1915803004: Remove LayoutFlowThread stuff from line layout code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: De-awesomeified the patch. We need this when not paginated too, since lineDelta may be non-zero. Created 4 years, 8 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 | « third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/line/LineLayoutState.h
diff --git a/third_party/WebKit/Source/core/layout/line/LineLayoutState.h b/third_party/WebKit/Source/core/layout/line/LineLayoutState.h
index ce68b8eb323b43ca14e17d15df88c4768dd63a2a..fc894a5f031b050b187a6f16dda8fb4070afce79 100644
--- a/third_party/WebKit/Source/core/layout/line/LineLayoutState.h
+++ b/third_party/WebKit/Source/core/layout/line/LineLayoutState.h
@@ -35,7 +35,7 @@ namespace blink {
class LineLayoutState {
STACK_ALLOCATED();
public:
- LineLayoutState(bool fullLayout, LayoutUnit& paintInvalidationLogicalTop, LayoutUnit& paintInvalidationLogicalBottom, LayoutFlowThread* flowThread)
+ LineLayoutState(bool fullLayout, LayoutUnit& paintInvalidationLogicalTop, LayoutUnit& paintInvalidationLogicalBottom)
: m_lastFloat(nullptr)
, m_endLine(nullptr)
, m_floatIndex(0)
@@ -46,7 +46,6 @@ public:
, m_paintInvalidationLogicalTop(paintInvalidationLogicalTop)
, m_paintInvalidationLogicalBottom(paintInvalidationLogicalBottom)
, m_usesPaintInvalidationBounds(false)
- , m_flowThread(flowThread)
{ }
void markForFullLayout() { m_isFullLayout = true; }
@@ -94,8 +93,6 @@ public:
LayoutUnit adjustedLogicalLineTop() const { return m_adjustedLogicalLineTop; }
void setAdjustedLogicalLineTop(LayoutUnit value) { m_adjustedLogicalLineTop = value; }
- LayoutFlowThread* flowThread() const { return m_flowThread; }
-
private:
Vector<LayoutBlockFlow::FloatWithRect> m_floats;
FloatingObject* m_lastFloat;
@@ -117,8 +114,6 @@ private:
LayoutUnit m_adjustedLogicalLineTop;
bool m_usesPaintInvalidationBounds;
-
- LayoutFlowThread* m_flowThread;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698