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

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

Issue 1144203004: Allow certain SP recorder classes to defer their "begin" operation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | « Source/core/paint/ReplacedPainter.cpp ('k') | Source/core/paint/RoundedInnerRectClipper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/RoundedInnerRectClipper.h
diff --git a/Source/core/paint/RoundedInnerRectClipper.h b/Source/core/paint/RoundedInnerRectClipper.h
index d400b43156d05b900d4831464bf727f28f700b59..d9636a7d644bed88ec77999807bbc73706eb801d 100644
--- a/Source/core/paint/RoundedInnerRectClipper.h
+++ b/Source/core/paint/RoundedInnerRectClipper.h
@@ -21,14 +21,21 @@ enum RoundedInnerRectClipperBehavior {
class RoundedInnerRectClipper {
public:
+ RoundedInnerRectClipper(LayoutObject&, const PaintInfo&);
RoundedInnerRectClipper(LayoutObject&, const PaintInfo&, const LayoutRect&, const FloatRoundedRect& clipRect, RoundedInnerRectClipperBehavior);
~RoundedInnerRectClipper();
+ void begin(const LayoutRect&, const FloatRoundedRect& clipRect, RoundedInnerRectClipperBehavior);
+
private:
LayoutObject& m_layoutObject;
const PaintInfo& m_paintInfo;
+
+ // Valid only if |m_engaged| is true.
bool m_useDisplayItemList;
DisplayItem::Type m_clipType;
+
+ bool m_engaged;
};
} // namespace blink
« no previous file with comments | « Source/core/paint/ReplacedPainter.cpp ('k') | Source/core/paint/RoundedInnerRectClipper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698