Bug 472502, r+sr=bz
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Sat, 17 Jan 2009 19:47:57 +0200
changeset 23876 bcb61d06a3d47ad10dca6cc0cc1b73bd143ffb37
parent 23875 0dcc2d19edf5b5fa7adab4a464cd6e044fb434c8
child 23877 77cadc513819bef912ffddc392460a69e302997e
push id4768
push useropettay@mozilla.com
push dateSat, 17 Jan 2009 17:48:49 +0000
treeherdermozilla-central@bcb61d06a3d4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs472502
milestone1.9.2a1pre
Bug 472502, r+sr=bz
layout/xul/base/src/nsListBoxBodyFrame.cpp
--- a/layout/xul/base/src/nsListBoxBodyFrame.cpp
+++ b/layout/xul/base/src/nsListBoxBodyFrame.cpp
@@ -444,16 +444,17 @@ nsListBoxBodyFrame::ScrollbarButtonPress
   return NS_OK;
 }
 
 ///////////// nsIReflowCallback ///////////////
 
 PRBool
 nsListBoxBodyFrame::ReflowFinished()
 {
+  nsAutoScriptBlocker scriptBlocker;
   // now create or destroy any rows as needed
   CreateRows();
 
   // keep scrollbar in sync
   if (mAdjustScroll) {
      VerticalScroll(mYPosition);
      mAdjustScroll = PR_FALSE;
   }