Kaydet (Commit) e18603e6 authored tarafından Herbert Dürr's avatar Herbert Dürr Kaydeden (comit) Caolán McNamara

protect SalFrameView's isOpaque() method by an isAlive() check

(cherry picked from commit feb1be19)

Change-Id: I9e6ddcf04047bdc905f00b709db84459112122db
üst c2cb5f47
...@@ -429,7 +429,13 @@ static AquaSalFrame* getMouseContainerFrame() ...@@ -429,7 +429,13 @@ static AquaSalFrame* getMouseContainerFrame()
-(BOOL)isOpaque -(BOOL)isOpaque
{ {
return mpFrame ? (mpFrame->getClipPath() != 0 ? NO : YES) : YES; if( !mpFrame)
return YES;
if( !AquaSalFrame::isAlive( mpFrame))
return YES;
if( !mpFrame->getClipPath())
return YES;
return NO;
} }
// helper class similar to a osl::SolarGuard for the SalYieldMutex // helper class similar to a osl::SolarGuard for the SalYieldMutex
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment