WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
210006
[GPUP] Remove unnecessary RemoteCDMInstanceSessionIdentifier argument from RemoteCDMFactory::addSession()
https://bugs.webkit.org/show_bug.cgi?id=210006
Summary
[GPUP] Remove unnecessary RemoteCDMInstanceSessionIdentifier argument from Re...
David Kilzer (:ddkilzer)
Reported
2020-04-04 09:57:12 PDT
Remove unnecessary RemoteCDMInstanceSessionIdentifier argument from RemoteCDMFactory::addSession(). I noticed this when fixing
Bug 209712
.
Attachments
Patch v1
(3.42 KB, patch)
2020-04-04 10:00 PDT
,
David Kilzer (:ddkilzer)
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2020-04-04 10:00:39 PDT
Created
attachment 395452
[details]
Patch v1
Darin Adler
Comment 2
2020-04-04 16:23:50 PDT
Comment on
attachment 395452
[details]
Patch v1 View in context:
https://bugs.webkit.org/attachment.cgi?id=395452&action=review
> Source/WebKit/WebProcess/GPU/media/RemoteCDMFactory.cpp:84 > + m_sessions.set(session->identifier(), WTFMove(session));
This also means that we could use a HashSet instead of a HashMap.
Darin Adler
Comment 3
2020-04-04 16:24:22 PDT
Comment on
attachment 395452
[details]
Patch v1 View in context:
https://bugs.webkit.org/attachment.cgi?id=395452&action=review
>> Source/WebKit/WebProcess/GPU/media/RemoteCDMFactory.cpp:84 >> + m_sessions.set(session->identifier(), WTFMove(session)); > > This also means that we could use a HashSet instead of a HashMap.
That’s a slightly more challenging refactoring, but it’s one that would save memory.
EWS
Comment 4
2020-04-04 16:45:00 PDT
Committed
r259539
: <
https://trac.webkit.org/changeset/259539
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 395452
[details]
.
Radar WebKit Bug Importer
Comment 5
2020-04-04 16:45:16 PDT
<
rdar://problem/61304706
>
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