diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-22 22:25:59 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-22 22:25:59 +0000 |
commit | 70025d66df25c628c0e0bfc3c4d084f3f7195e59 (patch) | |
tree | 7364f487a2c4c77598e12c62b919144bbd1a482a /webkit/port | |
parent | e2e71e592a085de0d45b5ca41eecaa509068bcba (diff) | |
download | chromium_src-70025d66df25c628c0e0bfc3c4d084f3f7195e59.zip chromium_src-70025d66df25c628c0e0bfc3c4d084f3f7195e59.tar.gz chromium_src-70025d66df25c628c0e0bfc3c4d084f3f7195e59.tar.bz2 |
Use ETS_FOCUSED instead of TS_CHECKED to signify that a button
is focused. They both happen to have the same value, but this
is much clearer.
Review URL: http://codereview.chromium.org/7888
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3781 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port')
-rw-r--r-- | webkit/port/rendering/RenderThemeWin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/port/rendering/RenderThemeWin.cpp b/webkit/port/rendering/RenderThemeWin.cpp index 375dde6..4319479 100644 --- a/webkit/port/rendering/RenderThemeWin.cpp +++ b/webkit/port/rendering/RenderThemeWin.cpp @@ -421,7 +421,7 @@ unsigned RenderThemeWin::determineState(RenderObject* o) else if (isPressed(o)) // Active overrides hover and focused. result = TS_PRESSED; else if (supportsFocus(o->style()->appearance()) && isFocused(o)) - result = TS_CHECKED; + result = ETS_FOCUSED; else if (isHovered(o)) result = TS_HOT; if (isChecked(o)) |