OSDN Git Service

Unref the picture instead of deleting it
authorCary Clark <cary@android.com>
Wed, 3 Nov 2010 14:21:19 +0000 (10:21 -0400)
committerCary Clark <cary@android.com>
Wed, 3 Nov 2010 14:31:12 +0000 (10:31 -0400)
commitd17b63fd154fc79d6c6b99a04fe1a2c42ced4a2f
treea1acadf6d0f878a71011becd680c5b5038b0b55c
parentcc519b6e7f277a2aa0aa197bdb7163d662749552
Unref the picture instead of deleting it

This fixes a couple of bugs related to layers
and hardware acceleration.

The picture used by select text is now accessed
asynchronously from the UI thread. The UI thread
now unrefs it rather than deleting it outright.

The layer position may not be up to date when
the cursor rings are drawn, so update them if
the cursor ring is in a layer.

bug:3112657
bug:3030370
Change-Id: I99d07175ec30dcba895a26cf1d44bc0364430793
WebKit/android/nav/WebView.cpp