Bug 74770

Summary: Convert more WorkItems over to WTF::Functions
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 kling: review+

Description Anders Carlsson 2011-12-16 16:56:39 PST
Convert more WorkItems over to WTF::Functions
Comment 1 Anders Carlsson 2011-12-16 16:58:10 PST
Created attachment 119701 [details]
Patch
Comment 2 Andreas Kling 2011-12-16 17:01:44 PST
Comment on attachment 119701 [details]
Patch

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

> Source/WebKit2/WebProcess/Plugins/PluginView.cpp:1221
> -        RunLoop::main()->scheduleWork(WorkItem::createDeref(this));
> +        RunLoop::main()->dispatch(bind(derefPluginView, this));

I don't think WorkItem::createDeref() has any more call sites, so you should remove it, too.
Comment 3 Anders Carlsson 2011-12-16 17:03:47 PST
Committed r103132: <http://trac.webkit.org/changeset/103132>