Closed
Bug 1208935
Opened 9 years ago
Closed 9 years ago
Deinterlacer class definitions are not linked in when skia is disabled
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
FIXED
mozilla44
People
(Reporter: stevensn, Assigned: stevensn)
References
Details
Attachments
(2 files, 3 obsolete files)
7.30 KB,
patch
|
seth
:
review+
|
Details | Diff | Splinter Review |
7.27 KB,
patch
|
Details | Diff | Splinter Review |
The class definitions for Deinterlacer are part of Downscaler.cpp but Downscaler.cpp isn't linked in when skia is disabled. This causes non-skia builds to fail with a link error
Assignee | ||
Comment 1•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8666565 -
Flags: review?(seth)
Comment 2•9 years ago
|
||
Comment on attachment 8666565 [details] [diff] [review] split_out_deinterlacer.diff Review of attachment 8666565 [details] [diff] [review]: ----------------------------------------------------------------- If Deinterlacer needs to be in its own .cpp file, it should get its own header file as well. Please move Deinterlacer to a new Deinterlacer.h header file. Only nsGIFDecoder2.h should need to include it, if I recall correctly.
Attachment #8666565 -
Flags: review?(seth) → review-
Comment 3•9 years ago
|
||
Also, can we write a test so this doesn't keep happening? It would probably require more build system skills than I have, unfortunately.
Assignee | ||
Comment 4•9 years ago
|
||
Patch updated to have Deinterlacer.h as a standalone file I have no idea how to detect this type of thing with a test when none of the try platforms build with --disable-skia
Attachment #8666565 -
Attachment is obsolete: true
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8667039 -
Attachment is obsolete: true
Assignee | ||
Comment 6•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a18b191e0113
Assignee | ||
Updated•9 years ago
|
Attachment #8667085 -
Flags: review?(seth)
Comment 7•9 years ago
|
||
(In reply to Steve Singer (:stevensn) from comment #4) > I have no idea how to detect this type of thing with a test when none of the > try platforms build with --disable-skia Yeah, me neither. We'd need to somehow generate a --disable-skia object file even on platforms that normally have Skia enabled.
Comment 8•9 years ago
|
||
Comment on attachment 8667085 [details] [diff] [review] split_out_deinterlacer.diff Review of attachment 8667085 [details] [diff] [review]: ----------------------------------------------------------------- Looks good; thanks very much for fixing this, Steve!
Attachment #8667085 -
Flags: review?(seth) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/b50322abc286
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Assignee | ||
Updated•9 years ago
|
status-firefox43:
--- → affected
Assignee | ||
Comment 11•9 years ago
|
||
version of patch rebased for aurora
Assignee | ||
Comment 12•9 years ago
|
||
Comment on attachment 8669359 [details] [diff] [review] split_out_deinterlacer.diff - Aurora Approval Request Comment [Feature/regressing bug #]:1194058 [User impact if declined]: non-skia platforms (tier-3) won't build [Describe test coverage new/current, TreeHerder]: tested on m-c [Risks and why]: Low, patch moves existing code to a new file [String/UUID change made/needed]: none
Attachment #8669359 -
Flags: approval-mozilla-aurora?
Comment 13•9 years ago
|
||
Comment on attachment 8669359 [details] [diff] [review] split_out_deinterlacer.diff - Aurora Approved for uplift to aurora, should fix a build issue
Attachment #8669359 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 14•9 years ago
|
||
Hi, this failed to apply: applying split_out_deinterlacer.diff patching file image/Downscaler.h Hunk #1 FAILED at 147 1 out of 1 hunks FAILED -- saving rejects to file image/Downscaler.h.rej patch failed, unable to continue (try -v) patch failed, rejects left in working directory errors during apply, please fix and refresh split_out_deinterlacer.diff
Flags: needinfo?(steve)
Assignee | ||
Comment 15•9 years ago
|
||
This version have the patched has been refreshed against aurora
Attachment #8669359 -
Attachment is obsolete: true
Flags: needinfo?(steve)
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(cbook)
Comment 16•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=mozilla-aurora&revision=f944f0a51702 thanks steve!
Flags: needinfo?(cbook)
You need to log in
before you can comment on or make changes to this bug.
Description
•