Index: third_party/WebKit/Source/core/layout/LayoutTheme.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTheme.h b/third_party/WebKit/Source/core/layout/LayoutTheme.h |
index 598e5a8abc90df7dea2e3256f8880d98626a0e2f..97442215dc5ed5743f7790a1a60d299f812dca2e 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTheme.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutTheme.h |
@@ -58,6 +58,10 @@ class CORE_EXPORT LayoutTheme : public RefCounted<LayoutTheme> { |
virtual ThemePainter& painter() = 0; |
+ // This function is called after associated WebThemeEngine instance |
+ // was replaced. This is called only in tests. |
+ virtual void didChangeThemeEngine() {} |
+ |
static void setSizeIfAuto(ComputedStyle&, const IntSize&); |
// This method is called whenever style has been computed for an element and |