summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/android')
-rw-r--r--Source/WebKit/android/jni/WebViewCore.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebKit/android/jni/WebViewCore.cpp b/Source/WebKit/android/jni/WebViewCore.cpp
index 84b605a..bb3307c 100644
--- a/Source/WebKit/android/jni/WebViewCore.cpp
+++ b/Source/WebKit/android/jni/WebViewCore.cpp
@@ -835,7 +835,8 @@ BaseLayerAndroid* WebViewCore::createBaseLayer()
Color viewBackground = view->baseBackgroundColor();
background = bodyHasCSSBackground ? viewBackground.blend(background) : viewBackground;
}
- bodyHasFixedBackgroundImage = style->hasFixedBackgroundImage();
+ bodyHasFixedBackgroundImage = style->hasFixedBackgroundImage()
+ && FixedBackgroundImageLayerAndroid::GetCachedImage(style);
}
PicturePileLayerContent* content = new PicturePileLayerContent(m_content);