Index: third_party/WebKit/Source/core/paint/ThemePainterDefault.h |
diff --git a/third_party/WebKit/Source/core/paint/ThemePainterDefault.h b/third_party/WebKit/Source/core/paint/ThemePainterDefault.h |
index 48c21902096a71dd667190e63b3dece215d9b83a..a66dd692bed5d595f71c5fa67acb2d4e023d8e72 100644 |
--- a/third_party/WebKit/Source/core/paint/ThemePainterDefault.h |
+++ b/third_party/WebKit/Source/core/paint/ThemePainterDefault.h |
@@ -35,10 +35,11 @@ |
namespace blink { |
class LayoutBox; |
+class LayoutThemeDefault; |
class ThemePainterDefault final : public ThemePainter { |
public: |
- ThemePainterDefault(); |
+ explicit ThemePainterDefault(LayoutThemeDefault&); |
private: |
bool paintCheckbox(const LayoutObject&, |
@@ -84,6 +85,9 @@ class ThemePainterDefault final : public ThemePainter { |
void setupMenuListArrow(const LayoutBox&, |
const IntRect&, |
WebThemeEngine::ExtraParams&); |
+ |
+ // ThemePaintDefault is a part object of m_theme. |
+ LayoutThemeDefault& m_theme; |
}; |
} // namespace blink |