diff options
-rw-r--r-- | webkit/port/platform/chromium/RenderThemeGtk.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/webkit/port/platform/chromium/RenderThemeGtk.cpp b/webkit/port/platform/chromium/RenderThemeGtk.cpp index 43d2e12..d4382bb 100644 --- a/webkit/port/platform/chromium/RenderThemeGtk.cpp +++ b/webkit/port/platform/chromium/RenderThemeGtk.cpp @@ -263,8 +263,11 @@ double RenderThemeGtk::caretBlinkFrequency() const { // Disable the blinking caret in layout test mode, as it introduces // a race condition for the pixel tests. http://b/1198440 - if (ChromiumBridge::layoutTestMode()) - return 0; + if (ChromiumBridge::layoutTestMode()) { + // TODO(port): We need to disable this under linux, but returning 0 + // (like Windows does) sends gtk into an infinite expose loop. Do + // something about this later. + } GtkSettings* settings = gtk_settings_get_default(); |