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

Unified Diff: Source/core/rendering/RenderFieldset.h

Issue 550363004: Factor painting code out of RenderBox into a new class called BoxPainter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix Created 6 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/rendering/RenderFieldset.h
diff --git a/Source/core/rendering/RenderFieldset.h b/Source/core/rendering/RenderFieldset.h
index 3096c568835fb747fa888c99f5de78c0dc8226e1..ce83589f768c3464d6a65a4cb75eefe8e97ad307 100644
--- a/Source/core/rendering/RenderFieldset.h
+++ b/Source/core/rendering/RenderFieldset.h
@@ -46,6 +46,8 @@ private:
virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&) OVERRIDE;
virtual void paintMask(PaintInfo&, const LayoutPoint&) OVERRIDE;
+
+ BoxPainter m_boxPainter;
Stephen Chennney 2014/09/09 16:14:37 This is what I was getting at earlier. Ideally thi
chrishtr 2014/09/09 16:55:45 I'm trying to avoid inheritance for implementing t
Stephen Chennney 2014/09/09 19:16:48 Acknowledged.
};
DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderFieldset, isFieldset());

Powered by Google App Engine
This is Rietveld 408576698