Bug 125259

Summary: Make the estimatedProgress property observable using KVO
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch mitz: review+

Description Anders Carlsson 2013-12-04 15:15:04 PST
Make the estimatedProgress property observable using KVO
Comment 1 Anders Carlsson 2013-12-04 15:16:38 PST
Created attachment 218461 [details]
Patch
Comment 2 mitz 2013-12-04 15:34:44 PST
Comment on attachment 218461 [details]
Patch

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

> Source/WebKit2/UIProcess/PageLoadState.cpp:73
> +    m_estimatedProgress = 0.0;

No need for “.0”. Should we be doing this if the value is already 0?

> Source/WebKit2/UIProcess/PageLoadState.cpp:234
> +    m_estimatedProgress = 1.0;

No need for “.0” here.
Comment 3 Anders Carlsson 2013-12-04 15:40:45 PST
Committed r160137: <http://trac.webkit.org/changeset/160137>