summaryrefslogtreecommitdiffstats
path: root/WebKit/android
diff options
context:
space:
mode:
authorShimeng (Simon) Wang <swang@google.com>2011-03-16 17:24:44 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-03-16 17:24:44 -0700
commit9863c30dfa5b5a03577c0ad069bb04d70435ac2d (patch)
tree2e8557d1cb92363223a684fa8f0e0db5e67c1318 /WebKit/android
parent6e9c5336ef1a230b1cabc7c55ef19aeee6c00f55 (diff)
parent918bdcc55fdfcb50735949b3ed397392a84e0393 (diff)
downloadexternal_webkit-9863c30dfa5b5a03577c0ad069bb04d70435ac2d.zip
external_webkit-9863c30dfa5b5a03577c0ad069bb04d70435ac2d.tar.gz
external_webkit-9863c30dfa5b5a03577c0ad069bb04d70435ac2d.tar.bz2
Merge "Fix page jump after clicking links in nytimes.com" into honeycomb-mr1
Diffstat (limited to 'WebKit/android')
-rw-r--r--WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp b/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp
index ca28932..013972a 100644
--- a/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp
+++ b/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp
@@ -90,6 +90,8 @@ void ChromeClientAndroid::attachRootGraphicsLayer(WebCore::Frame*, WebCore::Grap
{
// frame is not used in Android as we should only get root graphics layer for the main frame
m_rootGraphicsLayer = layer;
+ if (!layer)
+ return;
scheduleCompositingLayerSync();
}