[Webkit-unassigned] [Bug 37203] Add layoutTestController.setPrinting()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 27 12:04:21 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=37203





--- Comment #9 from Darin Adler <darin at apple.com>  2010-04-27 12:04:21 PST ---
(From update of attachment 54440)
> -            resultString = [mainFrame renderTreeAsExternalRepresentation];
> +            if (gLayoutTestController->isPrinting())
> +                resultString = [mainFrame renderTreeAsExternalRepresentation:YES];
> +            else
> +                resultString = [mainFrame renderTreeAsExternalRepresentation:NO];

I would write:

    resultString = [mainFrame
renderTreeAsExternalRepresentationForPrinting:gLayoutTestController->isPrinting()];

-- 
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