Closed
Bug 231343
Opened 21 years ago
Closed 20 years ago
Fold AutoCopy service into nsSelection.cpp
Categories
(Core :: DOM: Selection, defect)
Core
DOM: Selection
Tracking
()
RESOLVED
FIXED
People
(Reporter: bryner, Assigned: bryner)
Details
(Keywords: memory-footprint)
Attachments
(1 file)
25.69 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
The AutoCopy service (layout/base/src/nsAutoCopy.cpp) is fairly trivial - a good half of the file is comments and XPCOM goop. I'd say it should just be folded into nsSelection.cpp, and don't bother with using the service manager or an XPCOM interface. There are no other consumers of the service.
Assignee | ||
Comment 1•20 years ago
|
||
While writing this patch, I noticed that many implementors of nsISelectionListener::NotifySelectionChanged() were using the |short| type in C++ to correspond to a |short| in IDL, whereas the correct type to use is |PRInt16|. I fixed that as well.
Attachment #172786 -
Flags: superreview?(roc)
Attachment #172786 -
Flags: review?(roc)
Attachment #172786 -
Flags: superreview?(roc)
Attachment #172786 -
Flags: superreview+
Attachment #172786 -
Flags: review?(roc)
Attachment #172786 -
Flags: review+
Assignee | ||
Comment 2•20 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•