Closed
Bug 891709
Opened 11 years ago
Closed 10 years ago
gfx/2d/Factory.cpp wrong include logic?
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla33
People
(Reporter: c, Assigned: c)
Details
Attachments
(1 file)
1.54 KB,
patch
|
gw280
:
review+
RyanVM
:
checkin+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release) Build ID: 20130706191431 Steps to reproduce: http://mxr.mozilla.org/mozilla-central/source/gfx/2d/Factory.cpp#22 http://mxr.mozilla.org/mozilla-central/source/gfx/2d/Factory.cpp#288
Comment 1•11 years ago
|
||
Can you explain what is wrong?
Assignee | ||
Comment 2•11 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #1) > Can you explain what is wrong? skia can be disabled, then ScaledFontWin.h will not be included, but it's required by line 291.
Assignee | ||
Comment 3•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Component: Graphics → Build Config
Assignee | ||
Updated•10 years ago
|
Attachment #8416882 -
Flags: review?(gps)
Comment 4•10 years ago
|
||
Comment on attachment 8416882 [details] [diff] [review] fix_disable-skia Review of attachment 8416882 [details] [diff] [review]: ----------------------------------------------------------------- I'm not a peer of gfx. As harmless as this looks, I'm redirecting.
Attachment #8416882 -
Flags: review?(gps) → review?(bas)
Updated•10 years ago
|
Assignee: nobody → zhoubcfan
Component: Build Config → Graphics
Comment 5•10 years ago
|
||
Comment on attachment 8416882 [details] [diff] [review] fix_disable-skia Review of attachment 8416882 [details] [diff] [review]: ----------------------------------------------------------------- I agree with this as well, but to be 100% sure we can use this outside of using Skia, redirecting.
Attachment #8416882 -
Flags: review?(bas) → review?(gwright)
Comment 6•10 years ago
|
||
Comment on attachment 8416882 [details] [diff] [review] fix_disable-skia Review of attachment 8416882 [details] [diff] [review]: ----------------------------------------------------------------- Looks fine to me. All the Skia-specific code in ScaledFontWin is already guarded so we should be fine here.
Attachment #8416882 -
Flags: review?(gwright) → review+
Comment 7•10 years ago
|
||
(That's not to say things will work, but it's better than the current situation where it potentially won't compile) :)
Comment 8•10 years ago
|
||
Ugh, I should probably be more clear. I was replying to Bas's question about whether we can use ScaledFontWin objects with a backend that's not Skia (or at least, that's how I interpreted it?). I think we can, with the Cairo backend, as would be implied by Factory::CreateScaledFontForNativeFont(), but I can't say for sure as I'm not familiar with Cairo.
Assignee | ||
Updated•10 years ago
|
Attachment #8416882 -
Flags: checkin?
Updated•10 years ago
|
Attachment #8416882 -
Flags: checkin? → checkin+
https://hg.mozilla.org/mozilla-central/rev/6b8539a2bf06
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in
before you can comment on or make changes to this bug.
Description
•