Fix bustage in TestWinTSF.cpp
authorMarkus Stange <mstange@themasta.com>
Tue, 04 Aug 2009 11:08:42 +1200
changeset 31096 631a6fcdf19c187b3cf79867b0866577952d8fc2
parent 31095 0cfd302c9d581474d4d6c8df2ec1d78f8c4b1418
child 31097 e8b7341268df49173117859f4e1650d4b5d98813
push id8363
push usermstange@themasta.com
push dateMon, 03 Aug 2009 23:10:20 +0000
treeherdermozilla-central@631a6fcdf19c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9.2a1pre
Fix bustage in TestWinTSF.cpp
widget/tests/TestWinTSF.cpp
--- a/widget/tests/TestWinTSF.cpp
+++ b/widget/tests/TestWinTSF.cpp
@@ -2740,17 +2740,17 @@ TestApp::TestContentEvents(void)
       }
     }
   }
   if (NS_FAILED(nsr) || !widget) {
     fail("TestContentEvents: get nsIWidget");
     return PR_FALSE;
   }
 
-  nsCOMPtr<nsIWidget> topLevel = widget->GetTopLevelWidget(nsnull);
+  nsCOMPtr<nsIWidget> topLevel = widget->GetTopLevelWidget();
   if (!topLevel) {
     fail("TestContentEvents: get top level widget");
     return PR_FALSE;
   }
 
   nsIntRect widgetRect, topLevelRect;
   nsr = widget->GetScreenBounds(widgetRect);
   if (NS_FAILED(nsr)) {