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 cad575fd8978c2969fd2ac74a62c1f36cad5c423..84ad07a945ae9e5190416d8e2413a41b49c7aea8 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTheme.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutTheme.h |
@@ -130,7 +130,8 @@ public: |
virtual Color platformDefaultCompositionBackgroundColor() const { return defaultCompositionBackgroundColor; } |
virtual void platformColorsDidChange(); |
- virtual double caretBlinkInterval() const { return 0.5; } |
+ void setCaretBlinkInterval(double); |
+ virtual double caretBlinkInterval() const; |
// System fonts and colors for CSS. |
virtual void systemFont(CSSValueID systemFontID, FontStyle&, FontWeight&, float& fontSize, AtomicString& fontFamily) const = 0; |
@@ -242,6 +243,7 @@ private: |
Color m_customFocusRingColor; |
bool m_hasCustomFocusRingColor; |
+ double m_caretBlinkInterval = 0.5; |
// This color is expected to be drawn on a semi-transparent overlay, |
// making it more transparent than its alpha value indicates. |