From 918bdcc55fdfcb50735949b3ed397392a84e0393 Mon Sep 17 00:00:00 2001 From: "Shimeng (Simon) Wang" Date: Wed, 16 Mar 2011 17:13:12 -0700 Subject: 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 --- WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp') 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(); } -- cgit v1.1