Closed
Bug 867269
Opened 12 years ago
Closed 12 years ago
SyncFrameMetrics override is disconnected and breaks compiles on gcc 4.7+
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: kats, Assigned: kats)
References
Details
Attachments
(1 file, 1 obsolete file)
10.84 KB,
patch
|
nrc
:
review+
|
Details | Diff | Splinter Review |
In https://hg.mozilla.org/mozilla-central/rev/4b2b6c39adf9 (bug 839641) I added a SyncFrameMetrics method CompositorParent which was overridden in the AndroidCompositorParent subclass in Fennec. The AndroidCompositorParent subclass was introduced in bug 860613 a couple of weeks ago.
The refactoring in bug 861727 moved some of the stuff in CompositorParent out into a AsyncCompositionManager class, including the SyncFrameMetrics method. This means the override in AndroidCompositorParent is now on the wrong class, and therefore that code path is broken. The code path is disabled by default so it will not manifest anywhere.
However, the MOZ_OVERRIDE tag on the function causes builds with gcc 4.7 and up to fail.
Assignee | ||
Updated•12 years ago
|
Blocks: apz-fennec
Comment 1•12 years ago
|
||
Glad to see MOZ_OVERRIDE catching real bugs :)
Assignee | ||
Comment 2•12 years ago
|
||
Still building this locally. It makes SyncFrameMetrics a non-virtual function, similar to how SetFirstPaintViewport, SetPageRect, and SyncViewportInfo work.
Assignee: nobody → bugmail.mozilla
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #743837 -
Attachment is obsolete: true
Comment 4•12 years ago
|
||
Sorry about breaking your patch and thanks for the fix - bug 861727 turned into rebase hell, I presume I missed this in one of the rebases.
Assignee | ||
Updated•12 years ago
|
Attachment #743891 -
Flags: review?(ncameron)
Comment 5•12 years ago
|
||
Comment on attachment 743891 [details] [diff] [review]
Better patch
Review of attachment 743891 [details] [diff] [review]:
-----------------------------------------------------------------
lgtm
Attachment #743891 -
Flags: review?(ncameron) → review+
Assignee | ||
Comment 6•12 years ago
|
||
Assignee | ||
Comment 7•12 years ago
|
||
I typo'd the ifdef check and didn't qref the fix for it. Oops. Landed as a trivial follow-up:
https://hg.mozilla.org/integration/mozilla-inbound/rev/9a0a3cb01e5c
Comment 8•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ea568a1576e5
https://hg.mozilla.org/mozilla-central/rev/9a0a3cb01e5c
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in
before you can comment on or make changes to this bug.
Description
•