Bug 121865

Summary: Tighten some renderer access in Document.
Product: WebKit Reporter: Andreas Kling <kling>
Component: Layout and RenderingAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, kangil.han, kling
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch koivisto: review+

Description Andreas Kling 2013-09-24 14:10:03 PDT
Tighten some renderer access in Document.
Comment 1 Andreas Kling 2013-09-24 14:10:32 PDT
Created attachment 212499 [details]
Patch
Comment 2 Antti Koivisto 2013-09-24 14:50:57 PDT
Comment on attachment 212499 [details]
Patch

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

> Source/WebCore/dom/Document.cpp:329
> +static Widget* widgetForElement(Element* focusedElement)

How about reference?
Comment 3 Andreas Kling 2013-10-10 04:15:16 PDT
Committed r157213: <http://trac.webkit.org/changeset/157213>