From 62e0cc56fb4f485f296e90e7426ca6412c374544 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Tue, 2 Oct 2012 18:21:20 -0700 Subject: Prevent fixed background layers for iframes bug:7271856 Path was untested/broken Change-Id: I053cb0255665b57b89524debbad9f78286ba9a37 --- Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp b/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp index 32a3c05..6edbe6a 100644 --- a/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp +++ b/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp @@ -591,6 +591,8 @@ void GraphicsLayerAndroid::updateFixedBackgroundLayers() { return; if (!view->style()->hasFixedBackgroundImage()) return; + if (view->isRenderIFrame()) // not supported + return; Image* image = FixedBackgroundImageLayerAndroid::GetCachedImage(view->style()); if (!image) -- cgit v1.1