Commit Graph

7 Commits

Author SHA1 Message Date
Cameron McCormack
f63cdecde2 Bug 1297899 - Part 6: Move RestyleManagerHandle functionality into RestyleManager. r=bholley
MozReview-Commit-ID: 7lsti0bGzNr

--HG--
extra : rebase_source : 13c64026190afe5de25f540adb6deea9f518149f
2017-02-13 11:21:33 +08:00
Xidorn Quan
1da4aa60e1 Bug 1304302 part 11 - Remove StyleSheetHandle as well as other places reference it. r=heycam
MozReview-Commit-ID: FfYZiShjJNX

--HG--
extra : source : b75ca959d5bc0128e643a58126693b4cc704e09b
2016-09-26 22:03:25 +10:00
Xidorn Quan
2f49a48a09 Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam
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
2016-09-26 22:03:25 +10:00
Cameron McCormack
74db9034ce Bug 1294161 - Add operator== overloads for comparing HandlRefPtrs to their raw Handles. r=bholley
MozReview-Commit-ID: jTQZXyNbqM
2016-08-26 14:02:45 +08:00
Cameron McCormack
9bfe388f26 Backed out changeset bb4b998ebc50 for having an incorrect bug number.
MozReview-Commit-ID: 44dOMGuM9MH
2016-08-26 14:02:08 +08:00
Cameron McCormack
c461447b20 Bug 1297304 - Add operator== overloads for comparing HandleRefPtrs to their raw Handles. r=bholley
MozReview-Commit-ID: jTQZXyNbqM
2016-08-26 13:59:38 +08:00
Cameron McCormack
c30825ac6f Bug 1244074 - Part 2: Add HandleRefPtr for refcounting StyleSheetHandles. r=dholbert r=waldo 2016-02-24 18:01:11 +11:00