am 0aadeca6: Merge "Partial rollback of I9ebc92dc"

* commit '0aadeca6cc05367faae1eacda6be580df41c17ee':
  Partial rollback of I9ebc92dc
This commit is contained in:
John Reck
2011-09-01 13:47:33 -07:00
committed by Android Git Automerger

View File

@@ -4007,12 +4007,9 @@ public class WebView extends AbsoluteLayout
// state.
// If mNativeClass is 0, we should not reach here, so we do not
// need to check it again.
if (mDrawCursorRing && drawRings) {
// Only update if we are actually going to use the result
nativeRecordButtons(hasFocus() && hasWindowFocus(),
mTouchMode == TOUCH_SHORTPRESS_START_MODE
|| mTrackballDown || mGotCenterDown, false);
}
nativeRecordButtons(hasFocus() && hasWindowFocus(),
(mTouchMode == TOUCH_SHORTPRESS_START_MODE && !USE_WEBKIT_RINGS)
|| mTrackballDown || mGotCenterDown, false);
drawCoreAndCursorRing(canvas, mBackgroundColor,
mDrawCursorRing && drawRings);
}