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+

Description Alexey Proskuryakov 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.
Comment 1 Alexey Proskuryakov 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.
Comment 2 Alexey Proskuryakov 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.