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

Unified Diff: Source/core/rendering/RenderLayer.h

Issue 328533003: Fix RenderObject::repaintRectangle in situations when the render object is not a layer and is squas… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added test result. Created 6 years, 6 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/rendering/RenderLayer.h
diff --git a/Source/core/rendering/RenderLayer.h b/Source/core/rendering/RenderLayer.h
index 1e5e7dcd5f3067cf165a60735c2830a003213dae..353a0f1c9ef9c2e722b1b75594519137ecdebc5f 100644
--- a/Source/core/rendering/RenderLayer.h
+++ b/Source/core/rendering/RenderLayer.h
@@ -339,8 +339,8 @@ public:
RenderLayer* scrollParent() const;
RenderLayer* clipParent() const;
- // Adjusts the given rect to the coordinate space of the repaint container's GraphicsLayer backing.
- void mapRectToRepaintBacking(const RenderLayerModelObject* repaintContainer, LayoutRect&) const;
+ // Adjusts the given rect (in the coordinate space of the RenderObject) to the coordinate space of |repaintContainer|'s GraphicsLayer backing.
+ static void mapRectToRepaintBacking(const RenderObject*, const RenderLayerModelObject* repaintContainer, LayoutRect&);
// Computes the bounding repaint rect for |renderObject|, in the coordinate space of |repaintContainer|'s GraphicsLayer backing.
static LayoutRect computeRepaintRect(const RenderObject*, const RenderLayer* repaintContainer);
« no previous file with comments | « LayoutTests/compositing/squashing/repaint-squashed-layer-in-rect-expected.txt ('k') | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698