Bug 558990 - Remove unused AddRECTToRegion function. r=roc
authorSaint Wesonga <wesongathedeveloper@yahoo.com>
Fri, 11 Jun 2010 20:53:27 +0200
changeset 43547 ed4923be783d07d09406d7e2449feac6948dd6b4
parent 43546 4c7ff4b0f2baa5c0d341f69ab6e1a1f5ccc24e9e
child 43548 edf71f1401a0d1ec8fc385e2d53d12bbc53838a3
push id13761
push userdgottwald@mozilla.com
push dateSat, 12 Jun 2010 05:58:51 +0000
treeherdermozilla-central@c8929de36eb2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs558990
milestone1.9.3a6pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 558990 - Remove unused AddRECTToRegion function. r=roc
widget/src/windows/nsWindow.cpp
--- a/widget/src/windows/nsWindow.cpp
+++ b/widget/src/windows/nsWindow.cpp
@@ -2163,23 +2163,16 @@ NS_IMETHODIMP nsWindow::HideWindowChrome
 /**************************************************************
  *
  * SECTION: nsIWidget::Invalidate
  *
  * Invalidate an area of the client for painting.
  *
  **************************************************************/
 
-#ifdef WINCE_WINDOWS_MOBILE
-static inline void AddRECTToRegion(const RECT& aRect, nsIRegion* aRegion)
-{
-  aRegion->Union(aRect.left, aRect.top, aRect.right - aRect.left, aRect.bottom - aRect.top);
-}
-#endif
-
 // Invalidate this component visible area
 NS_METHOD nsWindow::Invalidate(PRBool aIsSynchronous)
 {
   if (mWnd)
   {
 #ifdef WIDGET_DEBUG_OUTPUT
     debug_DumpInvalidate(stdout,
                          this,