Fix missing parentheses in expression. Bug 594278, r=jimm, a=dbaron
authorSimon Montagu <smontagu@smontagu.org>
Mon, 20 Sep 2010 11:40:41 +0200
changeset 54349 b1d56e69f4d96a2463e9edb5a320384ecb2ed850
parent 54348 74b45eeff9d629abb336f4a215d3950ef10dcc0e
child 54350 570dc03cbf24dd4a9fcc0adaf0a94ed70ef909d4
push id15860
push usersmontagu@mozilla.com
push dateMon, 20 Sep 2010 09:41:02 +0000
treeherdermozilla-central@b1d56e69f4d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjimm, dbaron
bugs594278
milestone2.0b7pre
first release with
nightly linux32
b1d56e69f4d9 / 4.0b7pre / 20100920030736 / files
nightly linux64
b1d56e69f4d9 / 4.0b7pre / 20100920030721 / files
nightly mac
b1d56e69f4d9 / 4.0b7pre / 20100920030714 / files
nightly win32
b1d56e69f4d9 / 4.0b7pre / 20100920042006 / files
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
Fix missing parentheses in expression. Bug 594278, r=jimm, a=dbaron
widget/src/windows/nsWindow.cpp
--- a/widget/src/windows/nsWindow.cpp
+++ b/widget/src/windows/nsWindow.cpp
@@ -2803,18 +2803,17 @@ NS_IMETHODIMP nsWindow::Update()
  *
  **************************************************************/
 
 // Return some native data according to aDataType
 void* nsWindow::GetNativeData(PRUint32 aDataType)
 {
   switch (aDataType) {
     case NS_NATIVE_TMP_WINDOW:
-      return (void*)::CreateWindowExW(WS_EX_NOACTIVATE |
-                                       mIsRTL ? WS_EX_LAYOUTRTL : 0,
+      return (void*)::CreateWindowExW(mIsRTL ? WS_EX_LAYOUTRTL : 0,
                                       WindowClass(),
                                       L"",
                                       WS_CHILD,
                                       CW_USEDEFAULT,
                                       CW_USEDEFAULT,
                                       CW_USEDEFAULT,
                                       CW_USEDEFAULT,
                                       mWnd,