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

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

Issue 1212293003: Clean up BoxClipper (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/layout/LayoutTable.cpp ('k') | Source/core/paint/BoxClipper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/BoxClipper.h
diff --git a/Source/core/paint/BoxClipper.h b/Source/core/paint/BoxClipper.h
index 106bfec7ee8fb5332cb2bb91f579d73ad7906e08..59b6a6dd93c9b707cb91cba87286d2f21e596952 100644
--- a/Source/core/paint/BoxClipper.h
+++ b/Source/core/paint/BoxClipper.h
@@ -17,15 +17,11 @@ enum ContentsClipBehavior { ForceContentsClip, SkipContentsClipIfPossible };
class BoxClipper {
public:
- BoxClipper(LayoutBox&, const PaintInfo&, const LayoutPoint& accumulatedOffset, ContentsClipBehavior);
+ BoxClipper(const LayoutBox&, const PaintInfo&, const LayoutPoint& accumulatedOffset, ContentsClipBehavior);
~BoxClipper();
-
- bool pushedClip() { return m_pushedClip; }
private:
- bool m_pushedClip;
- LayoutPoint m_accumulatedOffset;
+ const LayoutBox& m_box;
const PaintInfo& m_paintInfo;
- LayoutBox& m_box;
DisplayItem::Type m_clipType;
};
« no previous file with comments | « Source/core/layout/LayoutTable.cpp ('k') | Source/core/paint/BoxClipper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698