View | Details | Raw Unified
Collapse All | Expand All

(-) embed/mozilla/mozilla-embed.cpp (-2 / +2 lines)
 Lines 341-347    Link Here 
	if (preview_embed != NULL)
	if (preview_embed != NULL)
	{
	{
		EphyBrowser *pbrowser;
		EphyBrowser *pbrowser;
		nsresult rv;
		pbrowser = MOZILLA_EMBED(preview_embed)->priv->browser;
		pbrowser = MOZILLA_EMBED(preview_embed)->priv->browser;
		if (pbrowser != NULL)
		if (pbrowser != NULL)
 Lines 349-360    Link Here 
			pbrowser->GetDocumentURI (getter_AddRefs (uri));
			pbrowser->GetDocumentURI (getter_AddRefs (uri));
		}
		}
	}
	}
#ifdef HAVE_GECKO_1_8_1
	if (flags & EPHY_EMBED_LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP)
	if (flags & EPHY_EMBED_LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP)
	{
	{
		browser->LoadURI (url, nsIWebNavigation::LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP, uri);	
		browser->LoadURI (url, nsIWebNavigation::LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP, uri);	
	}
	}
	else
	else
#endif /* HAVE_GECKO_1_8_1 */
	{
	{
		browser->LoadURI (url, nsIWebNavigation::LOAD_FLAGS_NONE, uri);	
		browser->LoadURI (url, nsIWebNavigation::LOAD_FLAGS_NONE, uri);	
	}
	}