diff options
author | Nicolas Roard <nicolasroard@google.com> | 2011-10-04 18:01:40 -0700 |
---|---|---|
committer | Nicolas Roard <nicolasroard@google.com> | 2011-10-04 18:03:21 -0700 |
commit | 3adbe453816c9282bfe1d212e813661ce2590955 (patch) | |
tree | 3f2cb5fd1646f1f246629bfd0abf652ef2f3fc41 /Source/WebKit/android/jni/WebViewCore.h | |
parent | 89829a24e4efac83486ad878de3438e272aeeddf (diff) | |
download | external_webkit-3adbe453816c9282bfe1d212e813661ce2590955.zip external_webkit-3adbe453816c9282bfe1d212e813661ce2590955.tar.gz external_webkit-3adbe453816c9282bfe1d212e813661ce2590955.tar.bz2 |
Streamline the layers update codepath.
Directly update the layers transform and position.
This makes updates faster and less dependent on other webkit work.
counterpart java CL: https://android-git.corp.google.com/g/#/c/139853/
bug:5218173
Change-Id: I03a76ab853e81f0f12177fb785707ffb8dace330
Diffstat (limited to 'Source/WebKit/android/jni/WebViewCore.h')
-rw-r--r-- | Source/WebKit/android/jni/WebViewCore.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebKit/android/jni/WebViewCore.h b/Source/WebKit/android/jni/WebViewCore.h index 877f716..a25c5bb 100644 --- a/Source/WebKit/android/jni/WebViewCore.h +++ b/Source/WebKit/android/jni/WebViewCore.h @@ -525,6 +525,7 @@ namespace android { // and doing a copy of the layers. The layers' content may be updated // as we are calling layersSync(). BaseLayerAndroid* createBaseLayer(); + bool updateLayers(LayerAndroid*); int textWrapWidth() const { return m_textWrapWidth; } float scale() const { return m_scale; } |