Bug 11743 - [S60] QPixmap::isNull() problem
Summary: [S60] QPixmap::isNull() problem
Status: CLOSED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: 420+
Hardware: S60 Emulator S60 3rd edition
: P3 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-02 11:50 PST by Marcin Kwiatkowski
Modified: 2011-03-21 11:52 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kwiatkowski 2006-12-02 11:50:50 PST
In QPixmap::isNull()

"return (imageRenderer == NULL) || (imageRenderer->IsNull());"

C++ standard doesn't guarantee that (imageRenderer == NULL) will be evaluated before (imageRenderer->IsNull()) so compiler optimalisation can produce broken code.
Comment 1 Bradley Morrison 2006-12-03 08:23:54 PST
True, this needs to be evaluated wrt our compilers.

Thanks for the feedback Marcin!
Comment 2 Bradley Morrison 2008-04-09 11:31:58 PDT
Bulk update of s60 bugs - tagging and closing.
Comment 3 Bradley Morrison 2008-04-09 11:39:50 PDT
Bulk closing of all s60 platform bugs. 

Sorry for the noise!
Comment 4 Joel Parks 2011-03-21 11:52:54 PDT
re-purposing InTSW keyword for use by QtWebkit team