summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/android/RenderThemeAndroid.cpp
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2009-06-24 13:44:25 -0400
committerLeon Scroggins <scroggo@google.com>2009-06-25 17:01:57 -0400
commit846dd02baeb22227f22c9fda72e48f6810568c14 (patch)
tree4b231b2b94acbe4e681e952760b1c881ed45acd9 /WebCore/platform/android/RenderThemeAndroid.cpp
parentbdea3628828014f50d540d825722081f9116a837 (diff)
downloadexternal_webkit-846dd02baeb22227f22c9fda72e48f6810568c14.zip
external_webkit-846dd02baeb22227f22c9fda72e48f6810568c14.tar.gz
external_webkit-846dd02baeb22227f22c9fda72e48f6810568c14.tar.bz2
Invalidate the full rectangle of the highlight when clearing it.
In drawCursorRing, we potentially use a different value than bounds for the cursor ring. If we use that other value, also use it for the invalidation to clear it later.
Diffstat (limited to 'WebCore/platform/android/RenderThemeAndroid.cpp')
-rw-r--r--WebCore/platform/android/RenderThemeAndroid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/android/RenderThemeAndroid.cpp b/WebCore/platform/android/RenderThemeAndroid.cpp
index 09b679d..4cf7a1c 100644
--- a/WebCore/platform/android/RenderThemeAndroid.cpp
+++ b/WebCore/platform/android/RenderThemeAndroid.cpp
@@ -205,7 +205,7 @@ bool RenderThemeAndroid::paintButton(RenderObject* obj, const RenderObject::Pain
// If it is a disabled button, simply paint it to the master picture.
Node* node = obj->node();
if (!node || !node->isElementNode()
- || !static_cast<Element*>(node)->isEnabledFormControl()) {
+ || !static_cast<Element*>(node)->isEnabledFormControl()) {
RenderSkinButton::Draw(getCanvasFromInfo(info), rect,
RenderSkinAndroid::kDisabled);
} else {