Commit Graph

7 Commits

Author SHA1 Message Date
Cameron McCormack
87f3ad6dfb Bug 1297899 - Part 6: Move RestyleManagerHandle functionality into RestyleManager. r=bholley
MozReview-Commit-ID: 7lsti0bGzNr
2017-02-13 11:21:33 +08:00
Xidorn Quan
971487f7fe Bug 1304302 part 11 - Remove StyleSheetHandle as well as other places reference it. r=heycam
MozReview-Commit-ID: FfYZiShjJNX
2016-09-26 22:03:25 +10:00
Xidorn Quan
7d6c4129ab 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
2016-09-26 22:03:25 +10:00
Cameron McCormack
b2e9759f36 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
bdec544569 Backed out changeset bb4b998ebc50 for having an incorrect bug number.
MozReview-Commit-ID: 44dOMGuM9MH
2016-08-26 14:02:08 +08:00
Cameron McCormack
6c77239ca4 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
bc6274b172 Bug 1244074 - Part 2: Add HandleRefPtr for refcounting StyleSheetHandles. r=dholbert r=waldo 2016-02-24 18:01:11 +11:00