Bug 804606 - Stop Flash from crashing in CoreGraphics mode on accessing "our" CGContextRef outside of the call we use to pass it. r=bgirard
This commit is contained in:
@@ -287,6 +287,11 @@ public:
|
||||
// Mac: Allow the plugin to use offline renderer mode.
|
||||
// Use this only if the plugin is certified the support the offline renderer.
|
||||
QUIRK_ALLOW_OFFLINE_RENDERER = 1 << 9,
|
||||
// Mac: Work around a Flash bug that can cause plugin process crashes
|
||||
// in CoreGraphics mode: The Flash plugin sometimes accesses the
|
||||
// CGContextRef we pass to it in NPP_HandleEvent(NPCocoaEventDrawRect)
|
||||
// outside of that call. See bug 804606.
|
||||
QUIRK_FLASH_AVOID_CGMODE_CRASHES = 1 << 10,
|
||||
};
|
||||
|
||||
int GetQuirks() { return mQuirks; }
|
||||
|
||||
Reference in New Issue
Block a user