WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
41759
Web Inspector: All RefPtr arguments and return values should be changed to PassRefPtr according to common practice.
https://bugs.webkit.org/show_bug.cgi?id=41759
Summary
Web Inspector: All RefPtr arguments and return values should be changed to Pa...
Ilya Tikhonovsky
Reported
2010-07-07 05:15:58 PDT
In many places in Timeline code RefPtr is using instead of PassRefPtr.
http://webkit.org/coding/RefPtr.html
Attachments
[patch] initial version.
(22.99 KB, patch)
2010-07-07 05:30 PDT
,
Ilya Tikhonovsky
pfeldman
: review+
Details
Formatted Diff
Diff
[PATCH] Fix for "Value" Type
(1.07 KB, patch)
2010-07-07 11:56 PDT
,
Joseph Pecoraro
pfeldman
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Ilya Tikhonovsky
Comment 1
2010-07-07 05:30:47 PDT
Created
attachment 60720
[details]
[patch] initial version.
Ilya Tikhonovsky
Comment 2
2010-07-07 07:13:01 PDT
Committing to
http://svn.webkit.org/repository/webkit/trunk
... M WebCore/ChangeLog M WebCore/inspector/CodeGeneratorInspector.pm M WebCore/inspector/InspectorTimelineAgent.cpp M WebCore/inspector/InspectorTimelineAgent.h M WebCore/inspector/TimelineRecordFactory.cpp M WebCore/inspector/TimelineRecordFactory.h Committed
r62656
Joseph Pecoraro
Comment 3
2010-07-07 09:45:20 PDT
Thanks for doing this!
Joseph Pecoraro
Comment 4
2010-07-07 11:56:31 PDT
Comment on
attachment 60720
[details]
[patch] initial version.
> $typeTransform{"Object"} = { > - "param" => "const RefPtr<InspectorObject>&", > + "param" => "PassRefPtr<InspectorObject>",
> $typeTransform{"Array"} = { > - "param" => "const RefPtr<InspectorArray>&", > + "param" => "PassRefPtr<InspectorArray>",
This missed $typeTransform{"Value"}.
Joseph Pecoraro
Comment 5
2010-07-07 11:56:55 PDT
Created
attachment 60760
[details]
[PATCH] Fix for "Value" Type
Pavel Feldman
Comment 6
2010-07-07 12:18:27 PDT
Comment on
attachment 60760
[details]
[PATCH] Fix for "Value" Type Rubber-stamping on behalf of Ilya.
Joseph Pecoraro
Comment 7
2010-07-07 17:10:58 PDT
Comment on
attachment 60760
[details]
[PATCH] Fix for "Value" Type Landed the follow up in: Committed
r62731
M WebCore/ChangeLog M WebCore/inspector/CodeGeneratorInspector.pm
r62731
= d372bb126753aa13b5c79e95dcc4ea24c8a50992 (refs/remotes/trunk)
http://trac.webkit.org/changeset/62731
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug