summaryrefslogtreecommitdiffstats
path: root/WebKit/android
diff options
context:
space:
mode:
authorCary Clark <cary@android.com>2010-04-22 12:56:22 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-04-22 12:56:22 -0700
commit6ec27fea860849da854f5c3bcfd7b4798b08efc0 (patch)
treee15ff8dea4376dc589425c23a106264e7afc8289 /WebKit/android
parent0f92e845ed6499088958acf229f196ad67965f63 (diff)
parent5076efcd053da090680d27026645b6a7d26ca79b (diff)
downloadexternal_webkit-6ec27fea860849da854f5c3bcfd7b4798b08efc0.zip
external_webkit-6ec27fea860849da854f5c3bcfd7b4798b08efc0.tar.gz
external_webkit-6ec27fea860849da854f5c3bcfd7b4798b08efc0.tar.bz2
am 5076efcd: don\'t hide transparent nodes
Merge commit '5076efcd053da090680d27026645b6a7d26ca79b' into froyo-plus-aosp * commit '5076efcd053da090680d27026645b6a7d26ca79b': don't hide transparent nodes
Diffstat (limited to 'WebKit/android')
-rw-r--r--WebKit/android/nav/CachedRoot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebKit/android/nav/CachedRoot.cpp b/WebKit/android/nav/CachedRoot.cpp
index 115a0f9..2d37a2a 100644
--- a/WebKit/android/nav/CachedRoot.cpp
+++ b/WebKit/android/nav/CachedRoot.cpp
@@ -1083,7 +1083,7 @@ WebCore::String CachedRoot::imageURI(int x, int y) const
bool CachedRoot::maskIfHidden(BestData* best) const
{
const CachedNode* bestNode = best->mNode;
- if (bestNode->isUnclipped())
+ if (bestNode->isUnclipped() || bestNode->isTransparent())
return false;
const CachedFrame* frame = best->mFrame;
SkPicture* picture = frame->picture(bestNode);