changeset 1411:2df0d81c4201

6855713: jdk7: debug build failure in awt_Frame.cpp Reviewed-by: dcherepanov, yan
author ant
date Tue, 30 Jun 2009 12:55:21 +0400
parents 60290477fe73
children 75497b840ed0
files src/windows/native/sun/windows/awt_Frame.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/windows/native/sun/windows/awt_Frame.cpp	Fri Jun 26 19:50:44 2009 +0400
+++ b/src/windows/native/sun/windows/awt_Frame.cpp	Tue Jun 30 12:55:21 2009 +0400
@@ -391,9 +391,10 @@
 void AwtFrame::_CreateProxyFocusOwner(void *param)
 {
     DASSERT(AwtToolkit::IsMainThread());
-    DASSERT(m_proxyFocusOwner == NULL);
 
     AwtFrame *f = (AwtFrame *)param;
+    DASSERT(f->m_proxyFocusOwner == NULL);
+
     f->m_proxyFocusOwner = ::CreateWindow(TEXT("STATIC"),
                                           TEXT("ProxyFocusOwner"),
                                           WS_CHILD,