Bug 850571 - Remove temporary diagnostic code. r=me
authorMats Palmgren <matspal@gmail.com>
Wed, 12 Jun 2013 09:05:36 +0000
changeset 146244 0fc6830072486cb918082e71474b9080cf4f5fe2
parent 146243 72ccd2cc8ff40e4743facceeef467eda8c3bf72f
child 146245 7b299fd103c267a808e2ba5300e29349f52c68a6
push id2697
push userbbajaj@mozilla.com
push dateMon, 05 Aug 2013 18:49:53 +0000
treeherdermozilla-beta@dfec938c7b63 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs850571
milestone24.0a1
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 850571 - Remove temporary diagnostic code. r=me
view/src/nsView.cpp
--- a/view/src/nsView.cpp
+++ b/view/src/nsView.cpp
@@ -148,24 +148,16 @@ nsView* nsView::GetViewFor(nsIWidget* aW
   }
 
   listener = aWidget->GetAttachedWidgetListener();
   return listener ? listener->GetView() : nullptr;
 }
 
 void nsView::Destroy()
 {
-#if 1 // XXXmats temporary investigation of bug 850571
-  if (mFrame) {
-    if (uintptr_t(mFrame) == mozPoisonValue()) {
-      NS_RUNTIMEABORT("bug 850571: poisoned frame");
-    }
-    NS_RUNTIMEABORT("bug 850571: have frame");
-  }
-#endif
   this->~nsView();
   mozWritePoison(this, sizeof(*this));
   nsView::operator delete(this);
 }
 
 void nsView::SetPosition(nscoord aX, nscoord aY)
 {
   mDimBounds.x += aX - mPosX;