Closed Bug 710511 Opened 13 years ago Closed 12 years ago

Rename ANP DrawingModel to prevent conflict with AsyncDrawingModel

Categories

(Core Graveyard :: Plug-ins, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(firefox11 fixed)

RESOLVED FIXED
mozilla12
Tracking Status
firefox11 --- fixed

People

(Reporter: bas.schouten, Assigned: bas.schouten)

References

Details

(Whiteboard: [qa-])

Attachments

(2 files)

We're adding NPAPI async drawing code in a cross-platform manner in bug 651192. Recently we landed code that makes an android specific internal 'DrawingModel', that isn't based on the NPDrawingModel enumeration. We should rename this to not conflict with the new things we're adding based on the existing NPDrawingModel enum.

This patch I have is untested for lack of a current Android build env.
Attachment #581514 - Flags: review?(snorp)
Comment on attachment 581514 [details] [diff] [review]
Rename DrawingModel to ANPDrawingModel

You need nsNPAPIPluginInstance::GetANPDrawingModel() since nsPluginInstanceOwner::Paint() currently using GetDrawingModel() to get the ANP drawing model. Fixed and tested patch attached.
Attachment #581514 - Flags: review?(snorp) → review-
https://hg.mozilla.org/mozilla-central/rev/e3ac624ee524
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
Comment on attachment 589241 [details] [diff] [review]
Fixed up version of Bas' patch

[Triage Comment]
approval for beta to keep from having to rebase the rest of snorp's patches
Attachment #589241 - Flags: approval-mozilla-beta+
Whiteboard: [qa-]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: