Bug 528551 - Faster plugin drawing in Fennec. Fixes mac unit test. r=sicking

--HG--
extra : rebase_source : e0dbed7d82a77a61581c9aa59fdd928720c2e5bb
This commit is contained in:
Doug Turner 2009-11-20 09:51:06 -08:00
parent 18403f40e1
commit 383f44923a

View File

@ -2403,6 +2403,14 @@ nsPluginInstanceOwner::nsPluginInstanceOwner()
mPluginScale = 1.0;
mSharedXImage = nsnull;
mSharedSegmentInfo.shmaddr = nsnull;
#endif
#ifdef XP_MACOSX
#ifndef NP_NO_QUICKDRAW
mEventModel = NPEventModelCarbon;
#else
mEventModel = NPEventModelCocoa;
#endif
#endif
PR_LOG(nsObjectFrameLM, PR_LOG_DEBUG,
("nsPluginInstanceOwner %p created\n", this));