From be77b9dd9250fa1689765498390187a9b56a6bd6 Mon Sep 17 00:00:00 2001 From: hyatt Date: Sat, 10 Jun 2006 00:01:07 +0000 Subject: [PATCH] Fix win32 build bustage. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14795 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- WebCore/page/Frame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebCore/page/Frame.cpp b/WebCore/page/Frame.cpp index ca3fcb9521c..381a7ede58b 100644 --- a/WebCore/page/Frame.cpp +++ b/WebCore/page/Frame.cpp @@ -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); } -- GitLab