Closed Bug 978086 Opened 10 years ago Closed 10 years ago

Initializing fields of LayerRenderState in incorrect order

Categories

(Core :: Graphics: Layers, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: tzimmermann, Assigned: tzimmermann)

Details

Attachments

(1 file)

...which results in warnings like:

> ../../dist/include/mozilla/layers/LayersTypes.h: In constructor 'mozilla::layers::LayerRenderState::LayerRenderState(android::GraphicBuffer*, const nsIntSize&, uint32_t, mozilla::layers::TextureHost*)':
> ../../dist/include/mozilla/layers/LayersTypes.h:136:8: warning: 'mozilla::layers::LayerRenderState::mHasOwnOffset' will be initialized after [-Wreorder]
> ../../dist/include/mozilla/layers/LayersTypes.h:129:16: warning:   'mozilla::layers::TextureHost* mozilla::layers::LayerRenderState::mTexture' [-Wreorder]
> ../../dist/include/mozilla/layers/LayersTypes.h:97:3: warning:   when initialized here [-Wreorder]
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Attachment #8383696 - Flags: review?(nical.bugzilla) → review+
https://hg.mozilla.org/mozilla-central/rev/22cf29b47303
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: