Bug 147675 - Rename Mutex to DeprecatedMutex
Summary: Rename Mutex to DeprecatedMutex
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
URL:
Keywords:
Depends on:
Blocks: 147545
  Show dependency treegraph
 
Reported: 2015-08-04 18:47 PDT by Filip Pizlo
Modified: 2015-08-05 16:47 PDT (History)
4 users (show)

See Also:


Attachments
it's a start (198.24 KB, patch)
2015-08-04 18:48 PDT, Filip Pizlo
no flags Details | Formatted Diff | Diff
the patch (230.38 KB, patch)
2015-08-04 20:19 PDT, Filip Pizlo
no flags Details | Formatted Diff | Diff
the patch (227.48 KB, patch)
2015-08-04 21:26 PDT, Filip Pizlo
ggaren: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2015-08-04 18:47:41 PDT
Patch forthcoming.
Comment 1 Filip Pizlo 2015-08-04 18:48:56 PDT
Created attachment 258256 [details]
it's a start
Comment 2 Filip Pizlo 2015-08-04 20:19:49 PDT
Created attachment 258261 [details]
the patch
Comment 3 Filip Pizlo 2015-08-04 21:26:19 PDT
Created attachment 258263 [details]
the patch
Comment 4 WebKit Commit Bot 2015-08-04 21:27:43 PDT
Attachment 258263 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/network/curl/ResourceHandleManager.cpp:136:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
ERROR: Source/WTF/wtf/ThreadingPrimitives.h:97:  The parameter name "mutex" adds no information, so it should be removed.  [readability/parameter_name] [5]
Total errors found: 2 in 130 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Geoffrey Garen 2015-08-05 11:12:11 PDT
Comment on attachment 258263 [details]
the patch

r=me

It's arguably premature to do this before we've proven that the new mutex is, in fact, better -- but I'll take a small gamble here.
Comment 6 Geoffrey Garen 2015-08-05 11:12:33 PDT
> ERROR: Source/WebCore/platform/network/curl/ResourceHandleManager.cpp:136: 
> Place brace on its own line for function definitions.  [whitespace/braces]
> [4]
> ERROR: Source/WTF/wtf/ThreadingPrimitives.h:97:  The parameter name "mutex"
> adds no information, so it should be removed.  [readability/parameter_name]
> [5]

These are worth fixing, since we're here.
Comment 7 Anders Carlsson 2015-08-05 11:51:18 PDT
(In reply to comment #5)
> Comment on attachment 258263 [details]
> the patch
> 
> r=me
> 
> It's arguably premature to do this before we've proven that the new mutex
> is, in fact, better -- but I'll take a small gamble here.

Even if it isn't better, we should be using std::mutex in favor of WTF::(Deprecated)Mutex.
Comment 8 Filip Pizlo 2015-08-05 12:21:39 PDT
Landed in http://trac.webkit.org/changeset/187972
Comment 9 Filip Pizlo 2015-08-05 16:47:15 PDT
Rolled out in http://trac.webkit.org/changeset/188002