Bug 74770 - Convert more WorkItems over to WTF::Functions
Summary: Convert more WorkItems over to WTF::Functions
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-16 16:56 PST by Anders Carlsson
Modified: 2011-12-16 17:03 PST (History)
0 users

See Also:


Attachments
Patch (6.79 KB, patch)
2011-12-16 16:58 PST, Anders Carlsson
kling: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>