Descriptionaw: Fix hardware init/tear down in pop up flow
Previously we did not call onDetached on old native AwContents,
which now no longer cleans up hardware resources correctly.
This also had the side effect that the following onAttach with the new
native AwContents is ignored in java code due to attach/detach mismatch.
As make onDetached more strict with respect to ordering. And lock to
protect variable accessed on multiple threads.
Also need to ensure we never requestDrawGL on the blank native
AwContents that's destroyed during pop up.
BUG=376622
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272500
Patch Set 1 #Patch Set 2 : more fix #
Messages
Total messages: 5 (0 generated)
|