Closed
Bug 826632
Opened 13 years ago
Closed 13 years ago
Merge nsIViewManager into nsViewManager and clean up a bit
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: roc, Assigned: roc)
Details
Attachments
(7 files)
|
134.50 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
|
12.38 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
|
11.32 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
|
2.19 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
|
37.16 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
|
1.71 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
|
16.97 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #697846 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 2•13 years ago
|
||
Attachment #697847 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 3•13 years ago
|
||
Attachment #697848 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 4•13 years ago
|
||
Attachment #697849 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 5•13 years ago
|
||
Attachment #697850 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 6•13 years ago
|
||
Attachment #697851 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 7•13 years ago
|
||
Attachment #697852 -
Flags: review?(tnikkel)
Updated•13 years ago
|
Attachment #697846 -
Flags: review?(tnikkel) → review+
Updated•13 years ago
|
Attachment #697847 -
Flags: review?(tnikkel) → review+
Updated•13 years ago
|
Attachment #697848 -
Flags: review?(tnikkel) → review+
Updated•13 years ago
|
Attachment #697849 -
Flags: review?(tnikkel) → review+
Comment 8•13 years ago
|
||
Comment on attachment 697850 [details] [diff] [review]
Part 5: nsViewManager methods do not need to be virtual and most of the ones that return nsresult don't need to
>-NS_IMETHODIMP nsViewManager::RemoveChild(nsView *aChild)
>+void
>+nsViewManager::RemoveChild(nsView *aChild)
> {
>- NS_ENSURE_ARG_POINTER(aChild);
>+ NS_ASSERTION(aChild, "aChild must not be null");
NS_ENSURE_ARG_POINTER returns if the argument is null, so this is a change of behaviour. Intentional?
Attachment #697850 -
Flags: review?(tnikkel) → review+
Updated•13 years ago
|
Attachment #697851 -
Flags: review?(tnikkel) → review+
Updated•13 years ago
|
Attachment #697852 -
Flags: review?(tnikkel) → review+
| Assignee | ||
Comment 9•13 years ago
|
||
(In reply to Timothy Nikkel (:tn) from comment #8)
> NS_ENSURE_ARG_POINTER returns if the argument is null, so this is a change
> of behaviour. Intentional?
Yes. It doesn't matter.
| Assignee | ||
Comment 10•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/20df426b6111
https://hg.mozilla.org/integration/mozilla-inbound/rev/d6f3da960161
https://hg.mozilla.org/integration/mozilla-inbound/rev/2fa476152adc
https://hg.mozilla.org/integration/mozilla-inbound/rev/4f5d5f0c454c
https://hg.mozilla.org/integration/mozilla-inbound/rev/3c2fc9e57bb5
https://hg.mozilla.org/integration/mozilla-inbound/rev/f9a6a2f984f9
https://hg.mozilla.org/integration/mozilla-inbound/rev/0df74b1a4543
Comment 11•13 years ago
|
||
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/ea909ce6007b for bustage.
| Assignee | ||
Comment 12•13 years ago
|
||
| Assignee | ||
Comment 13•13 years ago
|
||
| Assignee | ||
Comment 14•13 years ago
|
||
(In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #13)
> https://tbpl.mozilla.org/?tree=Try&rev=8103d9167be4
So part 1 did not cause the test failures, but the patches up to part 7 did.
Let's try up to part 4: https://tbpl.mozilla.org/?tree=Try&rev=32f1edb2e710
| Assignee | ||
Comment 15•13 years ago
|
||
I think I found the bug; in part 5, in nsViewManager::DispatchEvent, I removed a return statement that I shouldn't have.
https://tbpl.mozilla.org/?tree=Try&rev=a29c06d23a80
| Assignee | ||
Comment 16•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1367089491f9
https://hg.mozilla.org/integration/mozilla-inbound/rev/7b31621af158
https://hg.mozilla.org/integration/mozilla-inbound/rev/9e7027c6242a
https://hg.mozilla.org/integration/mozilla-inbound/rev/92f2f1a27270
https://hg.mozilla.org/integration/mozilla-inbound/rev/0b3fbf63dd27
https://hg.mozilla.org/integration/mozilla-inbound/rev/57f386239178
https://hg.mozilla.org/integration/mozilla-inbound/rev/cb1092d8c447
Comment 17•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1367089491f9
https://hg.mozilla.org/mozilla-central/rev/7b31621af158
https://hg.mozilla.org/mozilla-central/rev/9e7027c6242a
https://hg.mozilla.org/mozilla-central/rev/92f2f1a27270
https://hg.mozilla.org/mozilla-central/rev/0b3fbf63dd27
https://hg.mozilla.org/mozilla-central/rev/57f386239178
https://hg.mozilla.org/mozilla-central/rev/cb1092d8c447
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in
before you can comment on or make changes to this bug.
Description
•