Bug 123061

Summary: StyleResolver should deal in PassRef<RenderStyle> where possible.
Product: WebKit Reporter: Andreas Kling <kling>
Component: CSSAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: allan.jensen, commit-queue, esprehn+autocc, glenn, gyuyoung.kim, kangil.han, kling, macpherson, menard
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch andersca: review+

Description Andreas Kling 2013-10-19 09:21:28 PDT
StyleResolver should deal in PassRef<RenderStyle> where possible.
Comment 1 Andreas Kling 2013-10-19 09:23:49 PDT
Created attachment 214654 [details]
Patch
Comment 2 Anders Carlsson 2013-10-19 09:26:18 PDT
Comment on attachment 214654 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=214654&action=review

> Source/WebCore/dom/Document.cpp:1855
> +    Ref<RenderStyle> pageStyle(ensureStyleResolver().styleForPage(pageIndex));

I think using pageStyle = is more clear here.
Comment 3 Andreas Kling 2013-10-19 09:47:36 PDT
Committed r157672: <http://trac.webkit.org/changeset/157672>