Bug 118440 - Tons of crashes on bots after r152425
Summary: Tons of crashes on bots after r152425
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Horton
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-07-05 21:31 PDT by Tim Horton
Modified: 2013-07-05 22:03 PDT (History)
5 users (show)

See Also:


Attachments
patch (2.34 KB, patch)
2013-07-05 21:36 PDT, Tim Horton
no flags Details | Formatted Diff | Diff
patch (2.76 KB, patch)
2013-07-05 21:50 PDT, Tim Horton
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Horton 2013-07-05 21:31:35 PDT
In FrameView::max/minScrollPosition, m_frame->page() can be null (by design).
Comment 1 Radar WebKit Bug Importer 2013-07-05 21:32:53 PDT
<rdar://problem/14366772>
Comment 2 Tim Horton 2013-07-05 21:36:02 PDT
Created attachment 206184 [details]
patch
Comment 3 Tim Horton 2013-07-05 21:50:17 PDT
Created attachment 206185 [details]
patch
Comment 4 Sam Weinig 2013-07-05 21:53:32 PDT
Comment on attachment 206185 [details]
patch

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

> Source/WebCore/page/FrameView.cpp:1646
> +    if (Page* page = m_frame->page()) {

I would do an early return.

> Source/WebCore/page/FrameView.cpp:1658
> +    Page* page = m_frame->page();

I would early return here.
Comment 5 Tim Horton 2013-07-05 22:03:29 PDT
http://trac.webkit.org/changeset/152434