Closed
Bug 797100
Opened 12 years ago
Closed 12 years ago
replace internal usage of nsIPluginInstanceOwner with nsPluginInstanceOwner
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla18
People
(Reporter: jaas, Assigned: jaas)
Details
Attachments
(1 file, 2 obsolete files)
31.22 KB,
patch
|
Details | Diff | Splinter Review |
Replacing internal usage of nsIPluginInstanceOwner with nsPluginInstanceOwner will make our code cleaner and reduce unnecessary QIs and Addref/Release pairs.
Attachment #667134 -
Flags: review?(jst)
Comment 2•12 years ago
|
||
Comment on attachment 667134 [details] [diff] [review] fix v1.0 Nice cleanup! r=jst, with one comment: - In dom/plugins/ipc/NPEventUnix.h: #ifdef MOZ_X11 #include "mozilla/X11Util.h" +#define KeyPress 2 #endif That change looks unrelated to this patch.
Attachment #667134 -
Flags: review?(jst) → review+
(In reply to Johnny Stenback (:jst, jst@mozilla.com) from comment #2) > That change looks unrelated to this patch. It isn't, sadly. In adding an include to nsPluginInstanceOwner.h somewhere I caused a build failure on Linux because we undef "KeyPress" all over the place. It was frustrating to figure out how to solve the problem, so I brute-forced it by just defining it via the X11 header value.
Comment 4•12 years ago
|
||
Wow, ok. That's really unfortunate, and I'd really prefer not to have to go there. I did some quick mxr/dxr queries here, and I don't see that method actually being called anywhere... Is it actually needed? Maybe we can just remove it and eliminate this #undef madness?
"SetXDisplay" is used right above its definition, in NPEventUnix.h, and that is used for serializing X events.
Fix Android build failures. Android-only try run: https://tbpl.mozilla.org/?tree=Try&rev=8613bf2d32ee
Attachment #667134 -
Attachment is obsolete: true
Fix X11 build error re: "KeyPress" in a more elegant way.
Attachment #667183 -
Attachment is obsolete: true
pushed to mozilla-inbound https://hg.mozilla.org/integration/mozilla-inbound/rev/56e8259f189b
Comment 9•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/56e8259f189b
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•