Bug 56714

Summary: Rename ThreadSafeShared to ThreadSafeRefCounted
Product: WebKit Reporter: Bill Budge <bbudge>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, ap, commit-queue, eric, levin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Proposed Patch
none
Proposed Patch
abarth: review+, abarth: commit-queue-
Proposed Patch abarth: review+, commit-queue: commit-queue-

Bill Budge
Reported 2011-03-19 13:18:22 PDT
Rename to make it clear that it's a ref counted object.
Attachments
Proposed Patch (72.98 KB, patch)
2011-03-19 17:47 PDT, Bill Budge
no flags
Proposed Patch (72.50 KB, patch)
2011-03-19 17:57 PDT, Bill Budge
abarth: review+
abarth: commit-queue-
Proposed Patch (72.46 KB, patch)
2011-03-20 08:14 PDT, Bill Budge
abarth: review+
commit-queue: commit-queue-
Bill Budge
Comment 1 2011-03-19 17:47:42 PDT
Created attachment 86275 [details] Proposed Patch
Bill Budge
Comment 2 2011-03-19 17:57:15 PDT
Created attachment 86276 [details] Proposed Patch Removed some stray pasted text in header.
Adam Barth
Comment 3 2011-03-19 18:02:51 PDT
Comment on attachment 86276 [details] Proposed Patch View in context: https://bugs.webkit.org/attachment.cgi?id=86276&action=review Sounds like a good idea to me. I see that it's on our list of renames we'd like to do in the future. Thanks! > Source/JavaScriptCore/wtf/CrossThreadRefCounted.h:41 > // Used to allowing sharing data across classes and threads (like ThreadedSafeShared). Missed this one? > Source/JavaScriptGlue/gyp/JavaScriptGlue.gypi:1 > -{ > +ThreadSafeRefCounted{ Typo?
Bill Budge
Comment 4 2011-03-19 18:13:58 PDT
Hi Adam, let me fix that (tomorrow though). I want to double-check the chrome side to make sure nothing breaks.
Bill Budge
Comment 5 2011-03-20 08:14:51 PDT
Created attachment 86282 [details] Proposed Patch Fixed 2 errors.
Adam Barth
Comment 6 2011-03-20 11:00:34 PDT
Comment on attachment 86282 [details] Proposed Patch Thanks!
WebKit Commit Bot
Comment 7 2011-03-20 11:03:15 PDT
Comment on attachment 86282 [details] Proposed Patch Rejecting attachment 86282 [details] from commit-queue. Failed to run "['./Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=eseidel-cq-sf', 'ap..." exit_code: 2 Last 500 characters of output: ium/src/WorkerFileWriterCallbacksBridge.h patching file Tools/ChangeLog Hunk #1 succeeded at 1 with fuzz 1. patching file Tools/DumpRenderTree/ForwardingHeaders/wtf/ThreadSafeRefCounted.h patching file Tools/DumpRenderTree/ForwardingHeaders/wtf/ThreadSafeShared.h rm 'Tools/DumpRenderTree/ForwardingHeaders/wtf/ThreadSafeShared.h' patching file Tools/Scripts/do-webcore-rename Failed to run "[u'/Projects/CommitQueue/Tools/Scripts/svn-apply', u'--reviewer', u'Adam Barth', u'--force']" exit_code: 1 Full output: http://queues.webkit.org/results/8211380
Adam Barth
Comment 8 2011-03-20 11:20:18 PDT
The commit-queue hasn't been very good at renames recently. We think it might be a recent regression.
Bill Budge
Comment 9 2011-03-20 12:44:27 PDT
Is this a problem with the patch?
Adam Barth
Comment 10 2011-03-20 13:18:00 PDT
(In reply to comment #9) > Is this a problem with the patch? Most likely not. It's a problem with the tools.
Adam Barth
Comment 11 2011-03-20 13:25:38 PDT
I would land this for you, but all my working copies have patches in the at the moment.
Bill Budge
Comment 12 2011-03-20 13:40:50 PDT
No rush, but I'm curious - do patches become stale over time?
Adam Barth
Comment 13 2011-03-20 13:46:21 PDT
(In reply to comment #12) > No rush, but I'm curious - do patches become stale over time? They do, but hopefully we'll get this landed for you before that happens.
David Levin
Comment 14 2011-03-20 15:07:14 PDT
(In reply to comment #13) > (In reply to comment #12) > > No rush, but I'm curious - do patches become stale over time? > > They do, but hopefully we'll get this landed for you before that happens. I'll try to land it.
David Levin
Comment 15 2011-03-20 16:32:12 PDT
Note You need to log in before you can comment on or make changes to this bug.