Backout 2255560d9b6c (bug 912054) for breaking PGO builds on the UX branch (bug 913251)
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Fri, 06 Sep 2013 17:38:03 -0700
changeset 158876 62ac395d5f0ba328e2f8e91c3d2747881553149f
parent 158875 bdbdeda69f0534a1a255a510eb1dcd939de55130
child 158902 aac620f1deb15f5e5798d3f2f928f82e550ae665
child 170288 53f83c3fc0aa8d3d1c2d29c65e37af2fe4397d11
push id2961
push userlsblakk@mozilla.com
push dateMon, 28 Oct 2013 21:59:28 +0000
treeherdermozilla-beta@73ef4f13486f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs912054, 913251
milestone26.0a1
backs out2255560d9b6c96bc991eabbc7de3c908251a556e
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
Backout 2255560d9b6c (bug 912054) for breaking PGO builds on the UX branch (bug 913251)
gfx/src/nsRegion.cpp
--- a/gfx/src/nsRegion.cpp
+++ b/gfx/src/nsRegion.cpp
@@ -241,19 +241,17 @@ void nsRegion::RgnRect::operator delete 
 
 
 
 void nsRegion::Init()
 {
   mRectListHead.prev = mRectListHead.next = &mRectListHead;
   mCurRect = &mRectListHead;
   mRectCount = 0;
-  MOZ_ASSERT(mBoundRect.x == 0 && mBoundRect.y == 0 &&
-             mBoundRect.width == 0 && mBoundRect.height == 0,
-             "Caller must have initialized mBoundRect");
+  mBoundRect.SetRect (0, 0, 0, 0);
 }
 
 inline void nsRegion::InsertBefore (RgnRect* aNewRect, RgnRect* aRelativeRect)
 {
   aNewRect->prev = aRelativeRect->prev;
   aNewRect->next = aRelativeRect;
   aRelativeRect->prev->next = aNewRect;
   aRelativeRect->prev = aNewRect;