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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp

Issue 2525513002: Move logic to turn off caret blinking for LayoutTests to LayoutTheme. (Closed)
Patch Set: Remove flaky marker from test. Created 4 years, 1 month 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 | « third_party/WebKit/Source/core/layout/LayoutThemeDefault.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp b/third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp
index 6e6c4bf590662367949f7919d790a9387a7806f1..e880c74791c84f5c2a48fb54f8ea100cd68c10e0 100644
--- a/third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp
@@ -249,15 +249,6 @@ Color LayoutThemeDefault::platformFocusRingColor() const {
return focusRingColor;
}
-double LayoutThemeDefault::caretBlinkInterval() const {
- // Disable the blinking caret in layout test mode, as it introduces
- // a race condition for the pixel tests. http://b/1198440
- if (LayoutTestSupport::isRunningLayoutTest())
- return 0;
-
- return LayoutTheme::caretBlinkInterval();
-}
-
void LayoutThemeDefault::systemFont(CSSValueID systemFontID,
FontStyle& fontStyle,
FontWeight& fontWeight,
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutThemeDefault.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698