diff options
author | Shimeng (Simon) Wang <swang@google.com> | 2011-03-16 17:13:12 -0700 |
---|---|---|
committer | Shimeng (Simon) Wang <swang@google.com> | 2011-03-16 17:13:12 -0700 |
commit | 918bdcc55fdfcb50735949b3ed397392a84e0393 (patch) | |
tree | 38bd730f9b9fa1ca7914e5e82dd7888bc8fb2250 /WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp | |
parent | ab60a5124c80ef3bbbe80a8ad714f07457d29f98 (diff) | |
download | external_webkit-918bdcc55fdfcb50735949b3ed397392a84e0393.zip external_webkit-918bdcc55fdfcb50735949b3ed397392a84e0393.tar.gz external_webkit-918bdcc55fdfcb50735949b3ed397392a84e0393.tar.bz2 |
Fix page jump after clicking links in nytimes.com
This reverts parts of change in
https://android-git.corp.google.com/g/#change,96777
issue: 4024447
Change-Id: I29b5de1f97ed9d7cd70786cdcfeb91b53563e66e
Diffstat (limited to 'WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp')
-rw-r--r-- | WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp | 2 |
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(); } |