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

Unified Diff: third_party/WebKit/Source/core/paint/ReplicaPainter.cpp

Issue 1982943002: Drag images should paint descendants that are painting siblings of the dragged element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update comments & rebase Created 4 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
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayerPaintingInfo.h ('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/paint/ReplicaPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/ReplicaPainter.cpp b/third_party/WebKit/Source/core/paint/ReplicaPainter.cpp
index 2711a2ce91b9a9c30200c9f8111262badd5d0571..9cf452e9b7b6787a64fa04544f7574033da3268e 100644
--- a/third_party/WebKit/Source/core/paint/ReplicaPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/ReplicaPainter.cpp
@@ -27,7 +27,7 @@ void ReplicaPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintO
// Turn around and paint the parent layer. Use temporary clipRects, so that the layer doesn't end up caching clip rects
// computing using the wrong rootLayer
PaintLayer* rootPaintingLayer = m_layoutReplica.layer()->parent();
- PaintLayerPaintingInfo paintingInfo(rootPaintingLayer, LayoutRect(paintInfo.cullRect().m_rect), GlobalPaintNormalPhase, LayoutSize(), 0);
+ PaintLayerPaintingInfo paintingInfo(rootPaintingLayer, LayoutRect(paintInfo.cullRect().m_rect), GlobalPaintNormalPhase, LayoutSize());
PaintLayerFlags flags = PaintLayerHaveTransparency | PaintLayerAppliedTransform | PaintLayerUncachedClipRects | PaintLayerPaintingReflection;
PaintLayerPainter(*m_layoutReplica.layer()->parent()).paintLayer(paintInfo.context, paintingInfo, flags);
} else if (paintInfo.phase == PaintPhaseMask) {
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayerPaintingInfo.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698