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

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

Issue 2883083004: Only adjust composited pagination position to account for lines offset of inlines. (Closed)
Patch Set: none Created 3 years, 7 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/LayoutInline.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.h b/third_party/WebKit/Source/core/layout/LayoutInline.h
index 3b3348b3d5fb66bcab38acd397616a1f54df73e1..a7f421d99485dc1d0cbbce9795be1b5b166662ef 100644
--- a/third_party/WebKit/Source/core/layout/LayoutInline.h
+++ b/third_party/WebKit/Source/core/layout/LayoutInline.h
@@ -221,6 +221,10 @@ class CORE_EXPORT LayoutInline : public LayoutBoxModelObject {
LayoutRect DebugRect() const override;
+ // For visualOverflowRect() only, to get bounding box of visual overflow of
+ // line boxes. This is public only for a hack in CompositedLayerMapping.
+ LayoutRect LinesVisualOverflowBoundingBox() const;
+
protected:
void WillBeDestroyed() override;
@@ -248,10 +252,6 @@ class CORE_EXPORT LayoutInline : public LayoutBoxModelObject {
InlineBox* CulledInlineFirstLineBox() const;
InlineBox* CulledInlineLastLineBox() const;
- // For visualOverflowRect() only, to get bounding box of visual overflow of
- // line boxes.
- LayoutRect LinesVisualOverflowBoundingBox() const;
-
template <typename GeneratorContext>
void GenerateLineBoxRects(GeneratorContext& yield) const;
template <typename GeneratorContext>

Powered by Google App Engine
This is Rietveld 408576698