This is the usual problem of devirt benefit predicting more devirtualization than inline-transform actually doing. This time it seems to be related to fact that we first clone the function and propagate &m_paintdc but somehow fail to recognize the devirtualizatoin oppurtunities again...
Honza