mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Bug 528551 - Faster plugin drawing in Fennec. Fixes mac unit test. r=sicking
--HG-- extra : rebase_source : e0dbed7d82a77a61581c9aa59fdd928720c2e5bb
This commit is contained in:
parent
18403f40e1
commit
383f44923a
@ -2403,6 +2403,14 @@ nsPluginInstanceOwner::nsPluginInstanceOwner()
|
|||||||
mPluginScale = 1.0;
|
mPluginScale = 1.0;
|
||||||
mSharedXImage = nsnull;
|
mSharedXImage = nsnull;
|
||||||
mSharedSegmentInfo.shmaddr = nsnull;
|
mSharedSegmentInfo.shmaddr = nsnull;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef XP_MACOSX
|
||||||
|
#ifndef NP_NO_QUICKDRAW
|
||||||
|
mEventModel = NPEventModelCarbon;
|
||||||
|
#else
|
||||||
|
mEventModel = NPEventModelCocoa;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
PR_LOG(nsObjectFrameLM, PR_LOG_DEBUG,
|
PR_LOG(nsObjectFrameLM, PR_LOG_DEBUG,
|
||||||
("nsPluginInstanceOwner %p created\n", this));
|
("nsPluginInstanceOwner %p created\n", this));
|
||||||
|
Loading…
Reference in New Issue
Block a user