Closed
Bug 252732
Opened 21 years ago
Closed 21 years ago
Add call parentheses to GetScriptGlobalObject and remove trailing whitespace in nsEventStateManager.cpp
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
People
(Reporter: jwatt, Assigned: jwatt)
References
()
Details
Attachments
(2 files)
87.55 KB,
patch
|
Details | Diff | Splinter Review | |
1.22 KB,
patch
|
jst
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
Shows how often this bit of the code gets called! I've added the parentheses to
the relevant line and used my editor to automatically remove all trailing
whitespace in the upcoming patch (no other changes).
![]() |
Assignee | |
Comment 1•21 years ago
|
||
![]() |
Assignee | |
Updated•21 years ago
|
Attachment #154066 -
Flags: superreview?(jst)
Comment 2•21 years ago
|
||
Wanna attach a diff -w version here for reviewers only?
![]() |
Assignee | |
Comment 3•21 years ago
|
||
Comment 4•21 years ago
|
||
Comment on attachment 154067 [details] [diff] [review]
cvs diff -w
- nsCOMPtr<nsIDOMWindowInternal>
domwin(do_QueryInterface(doc->GetScriptGlobalObject));
+ nsCOMPtr<nsIDOMWindowInternal>
domwin(do_QueryInterface(doc->GetScriptGlobalObject()));
Wow, I bet this wouldn't even compile... this code is inside an #ifdef
DEBUG_DOCSHELL_FOCUS, which I guess noone really defines any more...
r+sr=jst for this and all the cleanup you did.
Attachment #154067 -
Flags: superreview+
Attachment #154067 -
Flags: review+
![]() |
Assignee | |
Comment 5•21 years ago
|
||
Thanks for the super fast review. Maybe the DEBUG_DOCSHELL_FOCUS stuff should
just be removed, it only appears in content/events/src/nsEventStateManager.cpp
and docshell/base/nsDocShell.cpp
given that problems do happen near that stuff, we should probably resurrect it
instead.
Comment 7•21 years ago
|
||
Comment on attachment 154066 [details] [diff] [review]
patch
this sr request seems obsolete now...
Attachment #154066 -
Flags: superreview?(jst)
Comment 8•21 years ago
|
||
This patch makes it amazingly more difficult for me to get my changes in bug
250006 to merge in.
![]() |
Assignee | |
Updated•21 years ago
|
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•