diff options
author | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-25 01:18:24 +0000 |
---|---|---|
committer | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-25 01:18:24 +0000 |
commit | ab63e26f6872c804cb50637982dba419bfb1b45c (patch) | |
tree | d286a34ae6ecd04457390559ec6801b2ff8514f4 /webkit/port/platform | |
parent | 8e3c1a7ce2fb52858b6908cdd5bd5ddf547fd386 (diff) | |
download | chromium_src-ab63e26f6872c804cb50637982dba419bfb1b45c.zip chromium_src-ab63e26f6872c804cb50637982dba419bfb1b45c.tar.gz chromium_src-ab63e26f6872c804cb50637982dba419bfb1b45c.tar.bz2 |
Don't paint storm in layout test mode.
Blinking caret frequency sets a repeating timer, before it was 0 which causes the timer to fire constantly.
Review URL: http://codereview.chromium.org/12416
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/platform')
-rw-r--r-- | webkit/port/platform/chromium/RenderThemeGtk.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/webkit/port/platform/chromium/RenderThemeGtk.cpp b/webkit/port/platform/chromium/RenderThemeGtk.cpp index 7059d0c..b261b6e 100644 --- a/webkit/port/platform/chromium/RenderThemeGtk.cpp +++ b/webkit/port/platform/chromium/RenderThemeGtk.cpp @@ -261,11 +261,8 @@ 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()) { - // 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. - } + if (ChromiumBridge::layoutTestMode()) + return 999999999; GtkSettings* settings = gtk_settings_get_default(); |