Merge backout of 02384ea1b0d9 (bug 480860)

This commit is contained in:
Gavin Sharp 2009-03-02 04:53:52 -05:00
Родитель c58482d09f f8a8e36002
Коммит 1169f807e1
1 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -720,12 +720,7 @@ WidgetStack.prototype = {
this._viewingRect.width = width;
this._viewingRect.height = height;
// Wrap this call in a batch to ensure that we always call the
// viewportUpdateHandler, even if _adjustViewingRect doesn't trigger a pan.
// If it does, the batch also ensures that we don't call the handler twice.
this.beginUpdateBatch();
this._adjustViewingRect();
this.endUpdateBatch();
},
beginUpdateBatch: function startUpdate() {