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

Unified Diff: sky/engine/core/rendering/RenderObject.cpp

Issue 847303003: Delete selection paint invalidation code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: sky/engine/core/rendering/RenderObject.cpp
diff --git a/sky/engine/core/rendering/RenderObject.cpp b/sky/engine/core/rendering/RenderObject.cpp
index 8398e227594cd3847a8deb784f066307419fc6cc..109b9ffa65e12c02ed9d03c9989393379852ba1b 100644
--- a/sky/engine/core/rendering/RenderObject.cpp
+++ b/sky/engine/core/rendering/RenderObject.cpp
@@ -1105,23 +1105,6 @@ const RenderLayerModelObject* RenderObject::adjustCompositedContainerForSpecialA
return view();
}
-void RenderObject::mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect& rect, const PaintInvalidationState* paintInvalidationState) const
-{
- if (paintInvalidationContainer == this)
- return;
-
- if (RenderObject* o = parent()) {
- if (o->hasOverflowClip()) {
- RenderBox* boxParent = toRenderBox(o);
- boxParent->applyCachedClipAndScrollOffsetForPaintInvalidation(rect);
- if (rect.isEmpty())
- return;
- }
-
- o->mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect, paintInvalidationState);
- }
-}
-
void RenderObject::dirtyLinesFromChangedChild(RenderObject*)
{
}

Powered by Google App Engine
This is Rietveld 408576698