printf("webBrowserBaseWindow: FAILED\n");
PRINTF("webBrowserBaseWindow: FAILED\n");
static void mozilla_realized( PtWidget_t *widget ){	PtMozillaWidget_t *moz = (PtMozillaWidget_t *) widget;  	PhMozEmbedPrivate *embed_private;  	int                attributes_mask;	PtSuperClassRealized(PtContainer, widget);#if 0  // check to see if we have to create the offscreen window  if (!offscreen_window) {    gtk_moz_embed_create_offscreen_window();  }#endif  embed_private = (PhMozEmbedPrivate *)moz->embed_private;  nsresult rv;  rv = embed_private->Realize(widget);  if (!NS_SUCCEEDED(rv))  	printf("embed_private->Realize(widget): FAILED\n");    // get our hands on the base window  nsCOMPtr<nsIBaseWindow> webBrowserBaseWindow =     do_QueryInterface(embed_private->mWebBrowser);  if (!webBrowserBaseWindow)  	printf("webBrowserBaseWindow: FAILED\n");  // show it  webBrowserBaseWindow->SetVisibility(PR_TRUE);  nsCOMPtr<nsIWebBrowserChrome> browserChrome = do_QueryInterface(embed_private->mEmbed);  browserChrome->SetChromeFlags(Pt_MOZ_FLAG_ALLCHROME);	// If an initial url was stored, load it  if (moz->url[0])		_mozilla_embed_load_url(moz, moz->url);}