mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1304302 part 3 - Use ServoStyleSheet* instead of Handle in ServoStyleSheet. r=heycam
MozReview-Commit-ID: WV8eRxSOnp --HG-- extra : source : 1d1c23f2cf6dbc2a3fbfa8a74b401c8464e113cf
This commit is contained in:
parent
e981c7e9be
commit
17e476532e
@ -50,7 +50,7 @@ ServoStyleSheet::SetOwningDocument(nsIDocument* aDocument)
|
||||
mDocument = aDocument;
|
||||
}
|
||||
|
||||
StyleSheetHandle
|
||||
ServoStyleSheet*
|
||||
ServoStyleSheet::GetParentSheet() const
|
||||
{
|
||||
// XXXheycam: When we implement support for child sheets, we'll have
|
||||
@ -60,7 +60,7 @@ ServoStyleSheet::GetParentSheet() const
|
||||
}
|
||||
|
||||
void
|
||||
ServoStyleSheet::AppendStyleSheet(StyleSheetHandle aSheet)
|
||||
ServoStyleSheet::AppendStyleSheet(ServoStyleSheet* aSheet)
|
||||
{
|
||||
// XXXheycam: When we implement support for child sheets, we'll have
|
||||
// to fix SetOwningDocument to propagate the owning document down
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "mozilla/RefPtr.h"
|
||||
#include "mozilla/ServoBindingHelpers.h"
|
||||
#include "mozilla/StyleSheet.h"
|
||||
#include "mozilla/StyleSheetHandle.h"
|
||||
#include "mozilla/StyleSheetInfo.h"
|
||||
#include "nsStringFwd.h"
|
||||
|
||||
@ -37,8 +36,8 @@ public:
|
||||
nsIDocument* GetOwningDocument() const;
|
||||
void SetOwningDocument(nsIDocument* aDocument);
|
||||
|
||||
StyleSheetHandle GetParentSheet() const;
|
||||
void AppendStyleSheet(StyleSheetHandle aSheet);
|
||||
ServoStyleSheet* GetParentSheet() const;
|
||||
void AppendStyleSheet(ServoStyleSheet* aSheet);
|
||||
|
||||
MOZ_MUST_USE nsresult ParseSheet(const nsAString& aInput,
|
||||
nsIURI* aSheetURI,
|
||||
|
Loading…
Reference in New Issue
Block a user