Bug 1368102: Part 5 - Move static content script matching into C++. r=mixedpuppy,zombie
MozReview-Commit-ID: Co04MoscqMx
This commit is contained in:
@@ -48,6 +48,14 @@ public:
|
||||
|
||||
uint64_t FrameID() const;
|
||||
|
||||
nsPIDOMWindowOuter* GetWindow() const
|
||||
{
|
||||
if (mObj.is<Window>()) {
|
||||
return mObj.as<Window>();
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
private:
|
||||
void SetURL(const URLInfo& aURL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user