Closed
Bug 726978
Opened 13 years ago
Closed 13 years ago
Remove useless NS_New(Native)LocalFile calls in nsBrowserApp.cpp
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla13
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(1 file, 2 obsolete files)
5.66 KB,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
Bug 686466 made application.ini a static file. However, it missed removing some of the calls to NS_New(Native)LocalFile that were only required for reading the application.ini from disk when -app wasn't passed.
This patch removes that, it also removes some includes that are not required.
Assignee | ||
Updated•13 years ago
|
Attachment #596976 -
Flags: review?(mh+mozilla)
Comment 1•13 years ago
|
||
Comment on attachment 596976 [details] [diff] [review]
The fix
Review of attachment 596976 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/app/Makefile.in
@@ -214,5 @@
> else
> $(RM) $(DIST)/$(MOZ_MACBUNDLE_NAME)/Contents/MacOS/$(PROGRAM)
> rsync -aL $(PROGRAM) $(DIST)/$(MOZ_MACBUNDLE_NAME)/Contents/MacOS
> endif
> - -cp -L $(DIST)/bin/mangle $(DIST)/bin/shlibsign $(DIST)/$(MOZ_MACBUNDLE_NAME)/Contents/$(APPFILES)
This does more than advertized. The nsBrowserApp.cpp part is also missing.
Attachment #596976 -
Flags: review?(mh+mozilla) → review-
Assignee | ||
Comment 2•13 years ago
|
||
Ahem, it always helps to attach the right patch...
Attachment #596976 -
Attachment is obsolete: true
Attachment #596991 -
Flags: review?(mh+mozilla)
Comment 3•13 years ago
|
||
Comment on attachment 596991 [details] [diff] [review]
The fix v2
Review of attachment 596991 [details] [diff] [review]:
-----------------------------------------------------------------
You want to do that in mobile/xul/app/nsBrowserApp.cpp, and b2g/app/nsBrowserApp.cpp, too.
Attachment #596991 -
Flags: review?(mh+mozilla) → review+
Comment 4•13 years ago
|
||
Comment on attachment 596991 [details] [diff] [review]
The fix v2
Nit if we're doing this, we no longer use exePath in do_main, might as well stop calling it with that. (We still need to calc it for the XPCOM startup)
Attachment #596991 -
Flags: feedback-
Assignee | ||
Comment 5•13 years ago
|
||
Addresses the various comments. I've also pushed to try to confirm at least the mobile changes are right (I just applied the patch there).
Attachment #596991 -
Attachment is obsolete: true
Attachment #597002 -
Flags: review?(mh+mozilla)
Updated•13 years ago
|
Attachment #597002 -
Flags: review?(mh+mozilla) → review+
Assignee | ||
Comment 6•13 years ago
|
||
Landed on inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/0a2efcfd53ff
Whiteboard: [inbound]
Target Milestone: --- → Firefox 13
Comment 7•13 years ago
|
||
Try run for a2be684fa890 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=a2be684fa890
Results (out of 31 total builds):
success: 30
warnings: 1
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/bugzilla@standard8.plus.com-a2be684fa890
Comment 8•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Updated•6 years ago
|
Component: Build Config → General
Product: Firefox → Firefox Build System
Updated•6 years ago
|
Target Milestone: Firefox 13 → mozilla13
You need to log in
before you can comment on or make changes to this bug.
Description
•