Closed
Bug 997445
Opened 11 years ago
Closed 11 years ago
Windows ShellService Fixups @2014-04. Port Firefox fixes: Bug 950368, Bug 950372, Bug 980415.
Categories
(SeaMonkey :: OS Integration, defect)
Tracking
(seamonkey2.28 fixed)
RESOLVED
FIXED
seamonkey2.28
Tracking | Status | |
---|---|---|
seamonkey2.28 | --- | fixed |
People
(Reporter: philip.chee, Assigned: philip.chee)
Details
Attachments
(1 file)
5.72 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
> c:/t1/hg/comm-central/suite/shell/src/nsWindowsShellService.cpp(648) : error C2440: 'initializing' : cannot co
> nvert from 'mozilla::TemporaryRef<T>' to 'nsRefPtr<T>'
> with
> [
> T=mozilla::gfx::SourceSurface
> ]
> and
> [
> T=gfxASurface
> ]
> No constructor could take the source type, or constructor overload resolution was ambiguous
> c:/t1/hg/comm-central/config/rules.mk:960: recipe for target 'nsWindowsShellService.obj' failed
> mozmake[3]: *** [nsWindowsShellService.obj] Error 2
> mozmake[3]: Leaving directory 'c:/t1/hg/objdir-sm/suite/shell/src'
Port the following Firefox fixes:
Bug 950368 - Make nsWindowsShellService's WriteBitmap act on a Moz2D SourceSurface instead of a Thebes gfxASurface.
Bug 950372 - Convert imgIContainer::GetFrame to return a Moz2D SourceSurface instead of a Thebes gfxASurface.
Bug 980415 - Fix multiple points in the codebase where we fail to call DataSourceSurface::Unmap().
![]() |
Assignee | |
Comment 1•11 years ago
|
||
Attachment #8407851 -
Flags: review?(neil)
![]() |
Assignee | |
Updated•11 years ago
|
Summary: Windows ShellService Fixups @2014-04. Port Firefox fixes → Windows ShellService Fixups @2014-04. Port Firefox fixes: Bug 950368, Bug 950372, Bug 980415.
Comment 2•11 years ago
|
||
Comment on attachment 8407851 [details] [diff] [review]
Patch v1.0 Bustage fix plus some ride along patches.
>+ int32_t width = dataSurface->GetSize().width;
>+ int32_t height = dataSurface->GetSize().height;
>+ int32_t bytesPerPixel = 4 * sizeof(uint8_t);
>+ uint32_t bytesPerRow = bytesPerPixel * width;
I asked on IRC why this one was different and the answer was "not sure". I'd like them all to be int32_t please. r=me with that fixed.
Attachment #8407851 -
Flags: review?(neil) → review+
![]() |
Assignee | |
Comment 3•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
status-seamonkey2.28:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.28
You need to log in
before you can comment on or make changes to this bug.
Description
•