Commit be77b9dd authored by hyatt's avatar hyatt

Fix win32 build bustage.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14795 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 99e2a4e4
......@@ -3320,10 +3320,10 @@ void Frame::setIsActive(bool flag)
// 4, Changing the tint of controls from clear to aqua/graphite and vice versa. We
// do a "fake" paint. When the theme gets a paint call, it can then do an invalidate. This is only
// done if the theme supports control tinting.
if (doc && d->m_view && d->m_view->getDocumentView() && theme()->supportsControlTints() && renderer()) {
if (doc && d->m_view && theme()->supportsControlTints() && renderer()) {
doc->updateLayout(); // Ensure layout is up to date.
IntRect visibleRect(enclosingIntRect(d->m_view->visibleContentRect()));
GraphicsContext context(0);
GraphicsContext context((PlatformGraphicsContext*)0);
context.setUpdatingControlTints(true);
paint(&context, visibleRect);
}
......
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