Add reset() method to CSSNode #140
Reference in New Issue
Block a user
No description provided.
Delete Branch "fast-reset"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This allows users of css-layout in Java to perform faster resets on
CSSNode in cases when you want to recycle instances.
CSSLayout.resetResult() was renamed to simply reset() for consistency.
@kmagiera @foghina ping?
See my inlines, otherwise
Not a big fan of the breaking API change, but as long as you fix usages, I'll allow it.
@foghina What API break?
resetResult()
->reset()
.@foghina Ah, I thought CSSLayout was package-private. Reverted this change to avoid the API break.
Updated the branch: