diff options
author | Shimeng (Simon) Wang <swang@google.com> | 2011-03-16 17:24:44 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-03-16 17:24:44 -0700 |
commit | 9863c30dfa5b5a03577c0ad069bb04d70435ac2d (patch) | |
tree | 2e8557d1cb92363223a684fa8f0e0db5e67c1318 /WebKit/android | |
parent | 6e9c5336ef1a230b1cabc7c55ef19aeee6c00f55 (diff) | |
parent | 918bdcc55fdfcb50735949b3ed397392a84e0393 (diff) | |
download | external_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.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(); } |