Bug 188204

Summary: Add TransformationMatrix::Identity
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: New BugsAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, darin, simon.fraser
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Yusuke Suzuki 2018-07-31 12:42:51 PDT
Add TransformationMatrix::Identity
Comment 1 Yusuke Suzuki 2018-07-31 12:43:38 PDT
Created attachment 346191 [details]
Patch
Comment 2 Yusuke Suzuki 2018-08-01 01:23:18 PDT
Created attachment 346265 [details]
Patch
Comment 3 Yusuke Suzuki 2018-08-01 08:33:55 PDT
Comment on attachment 346265 [details]
Patch

Thanks
Comment 4 WebKit Commit Bot 2018-08-01 09:01:07 PDT
Comment on attachment 346265 [details]
Patch

Clearing flags on attachment: 346265

Committed r234460: <https://trac.webkit.org/changeset/234460>
Comment 5 WebKit Commit Bot 2018-08-01 09:01:09 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Darin Adler 2018-08-01 09:55:26 PDT
Comment on attachment 346265 [details]
Patch

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

> Source/WebCore/platform/graphics/transforms/TransformationMatrix.h:121
> +    static const TransformationMatrix Identity;

Seems fine to define this, but unclear to me why its name is capitalized given WebKit coding style.
Comment 7 Radar WebKit Bug Importer 2018-08-01 20:34:52 PDT
<rdar://problem/42840494>
Comment 8 Yusuke Suzuki 2018-08-01 20:40:14 PDT
Comment on attachment 346265 [details]
Patch

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

>> Source/WebCore/platform/graphics/transforms/TransformationMatrix.h:121
>> +    static const TransformationMatrix Identity;
> 
> Seems fine to define this, but unclear to me why its name is capitalized given WebKit coding style.

Ah, I named it as `Identity` since we have `JSCell::StructureFlags` static const variable, but it seems this is rather exceptional. Changed in a follow-up patch.
Comment 9 Yusuke Suzuki 2018-08-01 21:10:48 PDT
Committed r234492: <https://trac.webkit.org/changeset/234492>