summaryrefslogtreecommitdiffstats
path: root/WebKit/android/nav/CachedRoot.cpp
diff options
context:
space:
mode:
authorCary Clark <cary@android.com>2010-04-22 13:37:03 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-04-22 13:37:03 -0700
commitbd4e6b709a249b5b374234983f23a5085f46ae02 (patch)
tree2b3a4f35762ea0929e932d9d192d08981404ba83 /WebKit/android/nav/CachedRoot.cpp
parent3b7070b872ef123bcdd7e8798ff589f98cf37b2e (diff)
parent29189dc45bb2dde89f388b2fb8fbd2e996c92cd1 (diff)
downloadexternal_webkit-bd4e6b709a249b5b374234983f23a5085f46ae02.zip
external_webkit-bd4e6b709a249b5b374234983f23a5085f46ae02.tar.gz
external_webkit-bd4e6b709a249b5b374234983f23a5085f46ae02.tar.bz2
am 29189dc4: am 6ec27fea: am 5076efcd: don\'t hide transparent nodes
Diffstat (limited to 'WebKit/android/nav/CachedRoot.cpp')
-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);