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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerPaintingInfo.h

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
Index: third_party/WebKit/Source/core/paint/PaintLayerPaintingInfo.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPaintingInfo.h b/third_party/WebKit/Source/core/paint/PaintLayerPaintingInfo.h
index 3e76658dde703309b2161a87222468ff0ed4aca6..e3fca6881003c7498d85fd03f4ebe542dec1adf3 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerPaintingInfo.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPaintingInfo.h
@@ -78,10 +78,8 @@ typedef unsigned PaintLayerFlags;
struct PaintLayerPaintingInfo {
STACK_ALLOCATED();
PaintLayerPaintingInfo(PaintLayer* inRootLayer, const LayoutRect& inDirtyRect,
- GlobalPaintFlags globalPaintFlags, const LayoutSize& inSubPixelAccumulation,
- LayoutObject* inPaintingRoot = 0)
+ GlobalPaintFlags globalPaintFlags, const LayoutSize& inSubPixelAccumulation)
: rootLayer(inRootLayer)
- , paintingRoot(inPaintingRoot)
, paintDirtyRect(inDirtyRect)
, subPixelAccumulation(inSubPixelAccumulation)
, clipToDirtyRect(true)
@@ -93,7 +91,6 @@ struct PaintLayerPaintingInfo {
// TODO(jchaffraix): We should encapsulate all these fields.
PaintLayer* rootLayer;
- LayoutObject* paintingRoot; // only paint descendants of this object
LayoutRect paintDirtyRect; // relative to rootLayer;
LayoutSize subPixelAccumulation;
IntSize scrollOffsetAccumulation;
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.cpp ('k') | third_party/WebKit/Source/core/paint/ReplicaPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698