summaryrefslogtreecommitdiff
path: root/indra/newview/llweb.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-07-04 20:24:38 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-07-04 20:24:38 +0300
commit47cbcb61f8b7cbfb0f14043118c4e50b100d0068 (patch)
treea227eeb9de0c831dbec3bcadafbd39817c037f1a /indra/newview/llweb.cpp
parent56715de2cfc326da3e28d9ae70ba6288db50f7ac (diff)
DRTVWR-493 Cleaned up unneded inits.
Diffstat (limited to 'indra/newview/llweb.cpp')
-rw-r--r--indra/newview/llweb.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/indra/newview/llweb.cpp b/indra/newview/llweb.cpp
index 0cdc7f0d88..a34c5826ed 100644
--- a/indra/newview/llweb.cpp
+++ b/indra/newview/llweb.cpp
@@ -39,7 +39,6 @@
#include "lllogininstance.h"
#include "llparcel.h"
#include "llsd.h"
-#include "lltoastalertpanel.h"
#include "llui.h"
#include "lluri.h"
#include "llversioninfo.h"
@@ -57,32 +56,6 @@
bool on_load_url_external_response(const LLSD& notification, const LLSD& response, bool async );
-class URLLoader : public LLToastAlertPanel::URLLoader
-{
- virtual void load(const std::string& url , bool force_open_externally)
- {
- if (force_open_externally)
- {
- LLWeb::loadURLExternal(url);
- }
- else
- {
- LLWeb::loadURL(url);
- }
- }
-};
-static URLLoader sAlertURLLoader;
-
-
-// static
-void LLWeb::initClass()
-{
- LLToastAlertPanel::setURLLoader(&sAlertURLLoader);
-}
-
-
-
-
// static
void LLWeb::loadURL(const std::string& url, const std::string& target, const std::string& uuid)
{