From 846dd02baeb22227f22c9fda72e48f6810568c14 Mon Sep 17 00:00:00 2001 From: Leon Scroggins Date: Wed, 24 Jun 2009 13:44:25 -0400 Subject: 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. --- WebCore/platform/android/RenderThemeAndroid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'WebCore') 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(node)->isEnabledFormControl()) { + || !static_cast(node)->isEnabledFormControl()) { RenderSkinButton::Draw(getCanvasFromInfo(info), rect, RenderSkinAndroid::kDisabled); } else { -- cgit v1.1