From f3cdc9b01deb6c789d909b39914d11a6184946cd Mon Sep 17 00:00:00 2001 From: Richard Linden Date: Fri, 17 Sep 2010 12:16:07 -0700 Subject: allow_popups is now driven by trusted content flag trusted content is now a const attribute of LLMediaCtrl, set in constructor params --- indra/newview/llfloatersearch.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'indra/newview/llfloatersearch.cpp') diff --git a/indra/newview/llfloatersearch.cpp b/indra/newview/llfloatersearch.cpp index 7661e50eba..3ed4aec89a 100644 --- a/indra/newview/llfloatersearch.cpp +++ b/indra/newview/llfloatersearch.cpp @@ -96,11 +96,7 @@ LLFloaterSearch::LLFloaterSearch(const LLSD& key) : BOOL LLFloaterSearch::postBuild() { mBrowser = getChild("browser"); - if (mBrowser) - { - mBrowser->addObserver(this); - mBrowser->setTrusted(true); - } + mBrowser->addObserver(this); return TRUE; } -- cgit v1.2.3