mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset fd6c99f92485 (bug 1165486)
This commit is contained in:
parent
c5e49670f0
commit
2996bb2119
@ -293,7 +293,7 @@ class GlobalSharedContext : public SharedContext
|
||||
inWith_(computeInWith())
|
||||
{}
|
||||
|
||||
ObjectBox* toObjectBox() override { return nullptr; }
|
||||
ObjectBox* toObjectBox() { return nullptr; }
|
||||
HandleObject topStaticScope() const { return topStaticScope_; }
|
||||
bool allowSyntax(AllowedSyntax allowSyntax) const override {
|
||||
switch (allowSyntax) {
|
||||
@ -338,7 +338,7 @@ class FunctionBox : public ObjectBox, public SharedContext
|
||||
ParseContext<ParseHandler>* pc, Directives directives,
|
||||
bool extraWarnings, GeneratorKind generatorKind);
|
||||
|
||||
ObjectBox* toObjectBox() override { return this; }
|
||||
ObjectBox* toObjectBox() { return this; }
|
||||
JSFunction* function() const { return &object->as<JSFunction>(); }
|
||||
|
||||
GeneratorKind generatorKind() const { return GeneratorKindFromBits(generatorKindBits_); }
|
||||
|
Loading…
Reference in New Issue
Block a user