backing out bug 347743 due to major crasher in 386332
authormconnor@steelgryphon.com
Fri, 29 Jun 2007 10:25:41 -0700
changeset 2943 baac67ac926485ab4761baa268430ee40ad4537d
parent 2942 4209e16b58411750ac73f761023e46b76b793e2c
child 2944 da56d8e87970eb00766855cc89d650d22eca3db5
push idunknown
push userunknown
push dateunknown
bugs347743, 386332
milestone1.9a6pre
backing out bug 347743 due to major crasher in 386332
widget/public/nsIWidget.h
--- a/widget/public/nsIWidget.h
+++ b/widget/public/nsIWidget.h
@@ -1048,22 +1048,16 @@ class nsIWidget : public nsISupports {
      * Get a flag that controls native window animation.
      * Ignored on any OS that doesn't support native animation.
      *
      * @param aAnimate Whether or not resizes are animated.
      * @return NS_ERROR_NOT_IMPLEMENTED if not implemented on widget or platform
      */
     NS_IMETHOD GetAnimatedResize(PRUint16* aAnimation) = 0;
 
-    /*
-     * Return the the nearest ancestor widget which does not have a
-     * Gecko parent.
-     */
-    virtual nsIWidget* GetTopLevelWindow(void) = 0;
-
 protected:
     // keep the list of children.  We also keep track of our siblings.
     // The ownership model is as follows: parent holds a strong ref to
     // the first element of the list, and each element holds a strong
     // ref to the next element in the list.  The prevsibling and
     // lastchild pointers are weak, which is fine as long as they are
     // maintained properly.
     nsCOMPtr<nsIWidget> mFirstChild;