Auto merge of #18590 - hiikezoe:increment-ref-count-for-will-change, r=xidorn
Auto merge of #18590 - hiikezoe:increment-ref-count-for-will-change, r=xidorn

Use Atom::from(nsIAtom) to increment reference count in case of dynam…

…ic atom for will-change.

If we don't increment the reference count for the Atom in servo side, it's
possible to try to release the Atom in servo side even if we have already
released in gecko side.  When it happens, nsIAtom::mKind is no longer reliable.

https://bugzilla.mozilla.org/show_bug.cgi?id=1401809

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18590)
<!-- Reviewable:end -->

rnestler/servo,sadmansk/servo,thiagopnts/servo,fiji-flo/servo,DominoTree/servo,KiChjang/servo,peterjoel/servo,dati91/servo,splav/servo,KiChjang/servo,SimonSapin/servo,saneyuki/servo,splav/servo,fiji-flo/servo,rnestler/servo,eddyb/servo,thiagopnts/servo,CJ8664/servo,pyfisch/servo,avadacatavra/servo,rnestler/servo,larsbergstrom/servo,CJ8664/servo,rnestler/servo,KiChjang/servo,sadmansk/servo,peterjoel/servo,canaltinova/servo,DominoTree/servo,emilio/servo,splav/servo,sadmansk/servo,pyfisch/servo,paulrouget/servo,nnethercote/servo,DominoTree/servo,szeged/servo,nnethercote/servo,paulrouget/servo,KiChjang/servo,ConnorGBrewster/servo,dsandeephegde/servo,larsbergstrom/servo,paulrouget/servo,anthgur/servo,jimberlage/servo,saneyuki/servo,canaltinova/servo,KiChjang/servo,splav/servo,DominoTree/servo,emilio/servo,mbrubeck/servo,notriddle/servo,KiChjang/servo,dati91/servo,eddyb/servo,pyfisch/servo,KiChjang/servo,dsandeephegde/servo,emilio/servo,avadacatavra/servo,sadmansk/servo,cbrewster/servo,thiagopnts/servo,sadmansk/servo,notriddle/servo,saneyuki/servo,fiji-flo/servo,sadmansk/servo,cbrewster/servo,dsandeephegde/servo,pyfisch/servo,splav/servo,peterjoel/servo,jimberlage/servo,mattnenterprise/servo,eddyb/servo,mattnenterprise/servo,canaltinova/servo,anthgur/servo,sadmansk/servo,jimberlage/servo,saneyuki/servo,mbrubeck/servo,rnestler/servo,upsuper/servo,peterjoel/servo,szeged/servo,saneyuki/servo,DominoTree/servo,saneyuki/servo,ConnorGBrewster/servo,mbrubeck/servo,DominoTree/servo,canaltinova/servo,fiji-flo/servo,nnethercote/servo,splav/servo,szeged/servo,eddyb/servo,emilio/servo,larsbergstrom/servo,dsandeephegde/servo,emilio/servo,ConnorGBrewster/servo,upsuper/servo,rnestler/servo,dsandeephegde/servo,paulrouget/servo,jimberlage/servo,upsuper/servo,peterjoel/servo,jimberlage/servo,ConnorGBrewster/servo,peterjoel/servo,nnethercote/servo,nnethercote/servo,fiji-flo/servo,rnestler/servo,cbrewster/servo,canaltinova/servo,avadacatavra/servo,SimonSapin/servo,KiChjang/servo,dati91/servo,KiChjang/servo,fiji-flo/servo,notriddle/servo,ConnorGBrewster/servo,eddyb/servo,avadacatavra/servo,thiagopnts/servo,notriddle/servo,jimberlage/servo,SimonSapin/servo,saneyuki/servo,eddyb/servo,sadmansk/servo,dati91/servo,cbrewster/servo,DominoTree/servo,saneyuki/servo,notriddle/servo,emilio/servo,jimberlage/servo,DominoTree/servo,thiagopnts/servo,anthgur/servo,anthgur/servo,larsbergstrom/servo,mbrubeck/servo,dsandeephegde/servo,upsuper/servo,splav/servo,rnestler/servo,szeged/servo,ConnorGBrewster/servo,mattnenterprise/servo,peterjoel/servo,paulrouget/servo,szeged/servo,nnethercote/servo,peterjoel/servo,mattnenterprise/servo,szeged/servo,larsbergstrom/servo,avadacatavra/servo,emilio/servo,splav/servo,larsbergstrom/servo,emilio/servo,nnethercote/servo,paulrouget/servo,eddyb/servo,notriddle/servo,thiagopnts/servo,CJ8664/servo,CJ8664/servo,mbrubeck/servo,CJ8664/servo,notriddle/servo,mbrubeck/servo,cbrewster/servo,avadacatavra/servo,dati91/servo,KiChjang/servo,saneyuki/servo,emilio/servo,notriddle/servo,dati91/servo,paulrouget/servo,SimonSapin/servo,paulrouget/servo,jimberlage/servo,thiagopnts/servo,pyfisch/servo,SimonSapin/servo,splav/servo,pyfisch/servo,canaltinova/servo,nnethercote/servo,emilio/servo,larsbergstrom/servo,splav/servo,szeged/servo,notriddle/servo,ConnorGBrewster/servo,anthgur/servo,mattnenterprise/servo,nnethercote/servo,anthgur/servo,jimberlage/servo,upsuper/servo,mbrubeck/servo,nnethercote/servo,cbrewster/servo,dsandeephegde/servo,CJ8664/servo,avadacatavra/servo,mattnenterprise/servo,DominoTree/servo,paulrouget/servo,cbrewster/servo,pyfisch/servo,cbrewster/servo,canaltinova/servo,mbrubeck/servo,anthgur/servo,larsbergstrom/servo,anthgur/servo,CJ8664/servo,upsuper/servo,pyfisch/servo,szeged/servo,szeged/servo,ConnorGBrewster/servo,DominoTree/servo,pyfisch/servo,SimonSapin/servo,paulrouget/servo,SimonSapin/servo,canaltinova/servo,saneyuki/servo,upsuper/servo,notriddle/servo,eddyb/servo,CJ8664/servo,mattnenterprise/servo,avadacatavra/servo,dsandeephegde/servo,SimonSapin/servo,fiji-flo/servo,thiagopnts/servo,larsbergstrom/servo,peterjoel/servo,dati91/servo,dati91/servo,upsuper/servo,fiji-flo/servo,szeged/servo,mattnenterprise/servo,larsbergstrom/servo,pyfisch/servo,peterjoel/servo