OSDN Git Service

remove push/pop around bitmap
authorCary Clark <cary@android.com>
Tue, 11 Jan 2011 14:02:25 +0000 (09:02 -0500)
committerCary Clark <cary@android.com>
Tue, 11 Jan 2011 14:02:25 +0000 (09:02 -0500)
commit8aab444a555fec87ca3cc19fdd3a06fa54f46f2c
tree6943a23734418f13587458fc1cae120982988f63
parentc3c04e3ba294eb676d432752484dc9074ae6b7e4
remove push/pop around bitmap

The algorithm that analyzes cursor rings in pictures
stores the changes to the canvas (e.g. push layer, pop)
but it turns out that bitmaps may have push/pop
pairs around them that don't represent a state change.

Remove the push/pop pairs around bitmaps when creating
the cursor region stack.

bug:3299913
bug:3329011
Change-Id: I14e0508285821e2723ff460e6b09faccb44f4565
WebKit/android/nav/CachedRoot.cpp