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

Unified Diff: Source/core/layout/LayoutView.h

Issue 1117753003: Fix under-invalidation about view background change caused by body style change (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
Index: Source/core/layout/LayoutView.h
diff --git a/Source/core/layout/LayoutView.h b/Source/core/layout/LayoutView.h
index 846f4f671712bc6e190e094a2eb3e02b4d279679..7a500d1d5a44b84065c59910ba9023c24d691eff 100644
--- a/Source/core/layout/LayoutView.h
+++ b/Source/core/layout/LayoutView.h
@@ -142,7 +142,7 @@ public:
bool usesCompositing() const;
IntRect unscaledDocumentRect() const;
- LayoutRect backgroundRect(LayoutBox* backgroundRenderer) const;
+ LayoutRect backgroundRect(LayoutBox* backgroundLayoutObject) const;
IntRect documentRect() const;
@@ -171,6 +171,8 @@ public:
void popLayoutState() { ASSERT(m_layoutState); m_layoutState = m_layoutState->next(); }
virtual void invalidateTreeIfNeeded(PaintInvalidationState&) override final;
+ LayoutObject* backgroundLayoutObject() const;
+
private:
virtual void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidationContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = 0, const PaintInvalidationState* = 0) const override;
virtual const LayoutObject* pushMappingToContainer(const LayoutBoxModelObject* ancestorToStopAt, LayoutGeometryMap&) const override;
@@ -186,8 +188,6 @@ private:
bool shouldUsePrintingLayout() const;
- LayoutObject* backgroundRenderer() const;
-
FrameView* m_frameView;
LayoutObject* m_selectionStart;

Powered by Google App Engine
This is Rietveld 408576698