diff options
author | Romain Guy <romainguy@google.com> | 2012-06-11 13:24:30 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2012-06-11 13:24:30 -0700 |
commit | 527ee91b60426b5a344e9905c7f9a14d6d26219e (patch) | |
tree | f8e3f6a4d12f77eb8ad7201d1728c9066b023058 /docs/html/sdk/api_diff/16/changes | |
parent | a7e3a1e0e7d308e7e78a1992038a34485d04ab29 (diff) |
Prevent crash in WebView when disabling the hw renderer
Bug #6596807
A crash would occur in the following situation:
- WebView registers a functor with the hardware renderer
- The hardware renderer gets disabled
- WebView attemps to unregister its functor
Unregistering the functor fails because the hardware renderer is now disabled.
When the renderer becomes enabled again, the functor is invoked, which leads
to a native crash.
This change simply allows functors to always be unregistered, even when the
renderer is disabled. A disabled renderer only means that it will not be used
for rendering; as such, unregistering a functor is a valid operation and
should be allowed.
Change-Id: I0ff897a0cca7e048c609033215cd0f7f5c940bcc
Diffstat (limited to 'docs/html/sdk/api_diff/16/changes')
0 files changed, 0 insertions, 0 deletions