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

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

Issue 1318963006: Add a UseCounter for clip CSS or -webkit-clip-path that clips positioned descendants. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/core/paint/DeprecatedPaintLayerPainter.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/DeprecatedPaintLayerPaintingInfo.h
diff --git a/Source/core/paint/DeprecatedPaintLayerPaintingInfo.h b/Source/core/paint/DeprecatedPaintLayerPaintingInfo.h
index 52889798992189806ec2ace2990c96f8ca9d04c9..dc217b40b311c5af2f4f80656d021c629ae0b7f3 100644
--- a/Source/core/paint/DeprecatedPaintLayerPaintingInfo.h
+++ b/Source/core/paint/DeprecatedPaintLayerPaintingInfo.h
@@ -85,6 +85,7 @@ struct DeprecatedPaintLayerPaintingInfo {
, paintDirtyRect(inDirtyRect)
, subPixelAccumulation(inSubPixelAccumulation)
, clipToDirtyRect(true)
+ , ancestorHasClipPathClipping(false)
, m_globalPaintFlags(globalPaintFlags)
{ }
@@ -97,6 +98,7 @@ struct DeprecatedPaintLayerPaintingInfo {
LayoutSize subPixelAccumulation;
IntSize scrollOffsetAccumulation;
bool clipToDirtyRect;
+ bool ancestorHasClipPathClipping;
private:
const GlobalPaintFlags m_globalPaintFlags;
« no previous file with comments | « Source/core/paint/DeprecatedPaintLayerPainter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698