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

Unified Diff: Source/core/paint/DeprecatedPaintLayerFragment.h

Issue 1349473003: Remove DeprecatedPaintLayerFragment::outlineRect (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed line, added rebaselines. Created 5 years, 3 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/paint/DeprecatedPaintLayerFragment.h
diff --git a/Source/core/paint/DeprecatedPaintLayerFragment.h b/Source/core/paint/DeprecatedPaintLayerFragment.h
index d40ffd59249ec19d44dfcba5bddaae7cb38d4456..4ec36447e83d097e8b4a2140b0ff9c67fd076fcb 100644
--- a/Source/core/paint/DeprecatedPaintLayerFragment.h
+++ b/Source/core/paint/DeprecatedPaintLayerFragment.h
@@ -35,12 +35,11 @@ namespace blink {
struct DeprecatedPaintLayerFragment {
ALLOW_ONLY_INLINE_ALLOCATION();
public:
- void setRects(const LayoutRect& bounds, const ClipRect& background, const ClipRect& foreground, const ClipRect& outline)
+ void setRects(const LayoutRect& bounds, const ClipRect& background, const ClipRect& foreground)
{
layerBounds = bounds;
backgroundRect = background;
foregroundRect = foreground;
- outlineRect = outline;
}
void moveBy(const LayoutPoint& offset)
@@ -48,7 +47,6 @@ public:
layerBounds.moveBy(offset);
backgroundRect.moveBy(offset);
foregroundRect.moveBy(offset);
- outlineRect.moveBy(offset);
paginationClip.moveBy(offset);
}
@@ -56,13 +54,11 @@ public:
{
backgroundRect.intersect(rect);
foregroundRect.intersect(rect);
- outlineRect.intersect(rect);
}
LayoutRect layerBounds;
ClipRect backgroundRect;
ClipRect foregroundRect;
- ClipRect outlineRect;
// Unique to paginated fragments. The physical translation to apply to shift the layer when painting/hit-testing.
LayoutPoint paginationOffset;
« no previous file with comments | « Source/core/paint/DeprecatedPaintLayerClipper.cpp ('k') | Source/core/paint/DeprecatedPaintLayerPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698