diff options
| author | Nicolas Roard <nicolas@android.com> | 2010-03-31 23:18:51 +0100 |
|---|---|---|
| committer | Nicolas Roard <nicolas@android.com> | 2010-05-21 18:29:47 -0700 |
| commit | bad8b91f026f7b63252113590bab4c73a7092214 (patch) | |
| tree | d09ed442230ae40886fa054576c5051b8c8eef9e /WebKit/android/jni | |
| parent | 571024554692d67ee9f4c6390e18dc41a38e7251 (diff) | |
| download | external_webkit-bad8b91f026f7b63252113590bab4c73a7092214.zip external_webkit-bad8b91f026f7b63252113590bab4c73a7092214.tar.gz external_webkit-bad8b91f026f7b63252113590bab4c73a7092214.tar.bz2 | |
Remove the use of a timer to delay painting, instead use a flag and check it
in RecordContent.
Change-Id: I2a7c11d0cb9697bbc415b2b91ee96a188bf45bf3
Diffstat (limited to 'WebKit/android/jni')
| -rw-r--r-- | WebKit/android/jni/WebViewCore.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/WebKit/android/jni/WebViewCore.cpp b/WebKit/android/jni/WebViewCore.cpp index 19d616c..45356f8 100644 --- a/WebKit/android/jni/WebViewCore.cpp +++ b/WebKit/android/jni/WebViewCore.cpp @@ -884,6 +884,12 @@ bool WebViewCore::recordContent(SkRegion* region, SkIPoint* point) region->getBounds().fTop, region->getBounds().fRight, region->getBounds().fBottom); DBG_SET_LOG("end"); + +#if USE(ACCELERATED_COMPOSITING) + // We update the layers + ChromeClientAndroid* chromeC = static_cast<ChromeClientAndroid*>(m_mainFrame->page()->chrome()->client()); + chromeC->layersSync(); +#endif return true; } |
