author | Michael Layzell <michael@thelayzells.com> |
Tue, 16 Jun 2015 08:10:00 -0400 | |
changeset 249153 | d94735b955d72be9d055fbc67873a101bc03b751 |
parent 249152 | a8cc529d7a7d991dd22c4188946e184fa84f9334 |
child 249154 | f5d9db72645de852ff60ebe7d12f9e5f522bf7d4 |
push id | 61153 |
push user | ryanvm@gmail.com |
push date | Tue, 16 Jun 2015 19:06:09 +0000 |
treeherder | mozilla-inbound@e8b8cdc974ab [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | dbaron |
bugs | 1167665 |
milestone | 41.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/layout/style/Loader.h +++ b/layout/style/Loader.h @@ -509,18 +509,19 @@ private: // The array of posted stylesheet loaded events (SheetLoadDatas) we have. // Note that these are rare. LoadDataArray mPostedEvents; // Our array of "global" observers nsTObserverArray<nsCOMPtr<nsICSSLoaderObserver> > mObservers; - // the load data needs access to the document... - nsIDocument* mDocument; // the document we live for + // This reference is nulled by the Document in it's destructor through + // DropDocumentReference(). + nsIDocument* MOZ_NON_OWNING_REF mDocument; // the document we live for // Number of datas still waiting to be notified on if we're notifying on a // whole bunch at once (e.g. in one of the stop methods). This is used to // make sure that HasPendingLoads() won't return false until we're notifying // on the last data we're working with. uint32_t mDatasToNotifyOn;