diff options
author | Cary Clark <cary@android.com> | 2009-05-18 14:22:48 -0400 |
---|---|---|
committer | Cary Clark <cary@android.com> | 2009-05-18 14:22:48 -0400 |
commit | 117d84f8c6e041c716766d519f10b5844c2968ea (patch) | |
tree | b0c89690f05518593392d1116d53caed3fab648e | |
parent | 04ba6fe32f62eed169e84e33d178552b8b4c0792 (diff) | |
download | external_webkit-117d84f8c6e041c716766d519f10b5844c2968ea.zip external_webkit-117d84f8c6e041c716766d519f10b5844c2968ea.tar.gz external_webkit-117d84f8c6e041c716766d519f10b5844c2968ea.tar.bz2 |
skip rectangular focus ring check in browser if no picture
-rw-r--r-- | WebKit/android/nav/CachedRoot.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WebKit/android/nav/CachedRoot.cpp b/WebKit/android/nav/CachedRoot.cpp index 41f642c..cf8578f 100644 --- a/WebKit/android/nav/CachedRoot.cpp +++ b/WebKit/android/nav/CachedRoot.cpp @@ -626,6 +626,8 @@ void CachedRoot::checkForJiggle(int* xDeltaPtr) const bool CachedRoot::checkRings(const WTF::Vector<WebCore::IntRect>& rings, const WebCore::IntRect& bounds) const { + if (!mPicture) + return false; RingCheck ringCheck(rings, bounds.location()); BoundsCanvas checker(&ringCheck); SkBitmap bitmap; |