mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-25 22:29:07 +00:00
2f49a48a09
This commit is generated by the following commands with some minor manual adjustment: find . \( -name '*.h' -or -name '*.cpp' \) -not -path './layout/style/StyleSheet*' -exec sed -i -b \ -e '/^\(#include\|using\)/s/StyleSheetHandle/StyleSheet/g' \ -e 's/\(mozilla::\)\?StyleSheetHandle::RefPtr/RefPtr<\1StyleSheet>/g' \ -e 's/StyleSheetHandle()/nullptr/g' \ -e 's/->AsStyleSheet()//g' \ -e 's/StyleSheetHandle/StyleSheet*/g' {} + sed -i -b 's/sheet->AsVoidPtr()/sheet.get()/' layout/style/Loader.cpp sed -i -b 's/AsHandle()/this/' layout/style/StyleSheet.cpp MozReview-Commit-ID: 7abdvlKHukd --HG-- extra : source : e5682242db07203b5a91810fe1e243c955310588