Bug 506151 - Class name bustage fix.
authorJim Mathies <jmathies@mozilla.com>
Mon, 27 Jul 2009 13:05:11 -0500
changeset 30752 a27e9247e56b
parent 30751 5b230fec6a4a
child 30753 d85d5e5e0058
push id8218
push userjmathies@mozilla.com
push dateMon, 27 Jul 2009 18:05:47 +0000
treeherdermozilla-central@a27e9247e56b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs506151
milestone1.9.2a1pre
Bug 506151 - Class name bustage fix.
widget/src/windows/nsWindow.cpp
--- a/widget/src/windows/nsWindow.cpp
+++ b/widget/src/windows/nsWindow.cpp
@@ -788,17 +788,17 @@ LPCWSTR nsWindow::WindowPopupClass()
     if (!nsWindow::sIsPopupClassRegistered) {
       // For older versions of Win32 (i.e., not XP), the registration will
       // fail, so we have to re-register without the CS_XP_DROPSHADOW flag.
       wc.style = CS_DBLCLKS;
       nsWindow::sIsPopupClassRegistered = ::RegisterClassW(&wc);
     }
   }
 
-  return className;
+  return kClassNameDropShadow;
 }
 
 /**************************************************************
  *
  * SECTION: Window styles utilities
  *
  * Return the proper windows styles and extended styles.
  *