Bug 105581

Summary: [WK2] LocalTerminationDisabler is not needed in WebCookieManager.cpp
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebKit2Assignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, beidson, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch andersca: review+

Alexey Proskuryakov
Reported 2012-12-20 15:00:34 PST
All WebCookieManager functions are synchronous, and all LocalTerminationDisabler does enable/disable a timer that cannot fire inside the function anyway.
Attachments
proposed patch (2.93 KB, patch)
2012-12-20 15:04 PST, Alexey Proskuryakov
andersca: review+
Alexey Proskuryakov
Comment 1 2012-12-20 15:04:43 PST
Created attachment 180419 [details] proposed patch In fact, most uses can be removed. Are we doing this just for consistency? I can be convinced to keep it if so. But posting to stir discussion.
Alexey Proskuryakov
Comment 2 2012-12-20 15:12:01 PST
OK, landed as <http://trac.webkit.org/changeset/138306>. I'll need to go over other "managers" later anyway.
Note You need to log in before you can comment on or make changes to this bug.