-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Android: Delete ContentViewCore.isAlive
This CL deletes the API |ContentViewCore.isAlive| and lets the callsites use |WebContents.isDestroyed| (after negation) instead. !CVC.isAlive() and WebContents.isDestroyed() basically serve the same purpose that indicate WebContents (and its associated objecs) are in the destroyed state. Once they return true, no calls should be made on WebContents. WebContents now defines |mIsAlive| for the deleted api to be replaced with !WebContents.isDestroyed(). It is set to false by CVC.destroy() or native WebContentsAndroid dtor, whichever comes first, to indicate that WebContents is on its way to destruction. (WebContents.destroy() also leads to setting it to false by way of WebcontentsAndroid dtor). Bug: 598880 Change-Id: I8aa864e4efdd5c326e62c284bbda5987dc0e60a5 Reviewed-on: https://chromium-review.googlesource.com/1058728 Reviewed-by: Ted Choc <tedchoc@chromium.org> Reviewed-by: Bo <boliu@chromium.org> Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org> Cr-Commit-Position: refs/heads/master@{#561733}
- Loading branch information
Showing
8 changed files
with
25 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters