summaryrefslogtreecommitdiffstats
path: root/WebKit/android/jni/WebViewCore.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/android/jni/WebViewCore.h')
-rw-r--r--WebKit/android/jni/WebViewCore.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebKit/android/jni/WebViewCore.h b/WebKit/android/jni/WebViewCore.h
index 3085a49..a32ba0c 100644
--- a/WebKit/android/jni/WebViewCore.h
+++ b/WebKit/android/jni/WebViewCore.h
@@ -129,6 +129,7 @@ namespace android {
#if USE(ACCELERATED_COMPOSITING)
void immediateRepaint();
void setRootLayer(int layer);
+ int rootLayer() { return mRootLayer; }
#endif
/** Invalidate the view/screen, NOT the content/DOM, but expressed in
@@ -544,6 +545,10 @@ namespace android {
uint32_t m_now;
#endif
+#if USE(ACCELERATED_COMPOSITING)
+ int mRootLayer;
+#endif
+
private:
// called from constructor, to add this to a global list
static void addInstance(WebViewCore*);