[Webkit-unassigned] [Bug 27478] All DOMConstructorObjects should hold a pointer to the JSDOMGlobalObject
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 21 10:36:45 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27478
--- Comment #5 from Eric Seidel <eric at webkit.org> 2009-07-21 10:36:44 PDT ---
(In reply to comment #4)
> (From update of attachment 33140 [details])
> This patch is awesome. Redundant code: BE GONE!
>
> + I've added two new classes: DOMObjectWithGlobalPointer and
> DOMConstructorObjectInDocument.
>
> The ChangeLog uses the old class names.
My bad. Will fix.
> + class DOMConstructorWithDocument : public DOMConstructorObject {
> + public:
> + Document* document() const
> + {
> + return static_cast<Document*>(scriptExecutionContext());
> + }
> + protected:
>
> Missing a blank line here.
Where? Before protected?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list