OSDN Git Service

don't call bounder when uninitialized
authorCary Clark <cary@android.com>
Wed, 23 Mar 2011 14:02:01 +0000 (10:02 -0400)
committerCary Clark <cary@android.com>
Wed, 23 Mar 2011 14:12:25 +0000 (10:12 -0400)
commitef25442f9f65d5f8283b2a5c2b90e63bf875c694
tree12a9caf33d400b7432c1df24f2c16c20932b5fbc
parent772742124c1e5c700120019397dc8af29ced74c0
don't call bounder when uninitialized

If the canvas' device list has never been set up, or
has been set to an empty clip, the bounder's clip will not be
initialized, and checking bounding rect may fail.

Check to see if the bounder was ever called for an individual
glyph before checking the result.

bug:4155270

Change-Id: I625e885d13208e82c44259277c74b8f0cef5b0cb
WebKit/android/nav/CachedRoot.cpp