summaryrefslogtreecommitdiff
path: root/indra/newview/llproductinforequest.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2017-09-13 16:31:48 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2017-09-13 16:31:48 +0300
commit9ee708707e5b28b8149d5f9fad6246b4e1a90cb0 (patch)
tree827262651b86435066ad484b1bb24f20f45e88e2 /indra/newview/llproductinforequest.cpp
parent56f53cd9f5319ac0c3b45bd18a998bb10df928a3 (diff)
MAINT-7794 Wrap getCapability(..) calls to avoid crashes
Diffstat (limited to 'indra/newview/llproductinforequest.cpp')
-rw-r--r--indra/newview/llproductinforequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llproductinforequest.cpp b/indra/newview/llproductinforequest.cpp
index b663df4aae..4abb673555 100644
--- a/indra/newview/llproductinforequest.cpp
+++ b/indra/newview/llproductinforequest.cpp
@@ -41,7 +41,7 @@ LLProductInfoRequestManager::LLProductInfoRequestManager():
void LLProductInfoRequestManager::initSingleton()
{
- std::string url = gAgent.getRegion()->getCapability("ProductInfoRequest");
+ std::string url = gAgent.getRegionCapability("ProductInfoRequest");
if (!url.empty())
{
LLCoros::instance().launch("LLProductInfoRequestManager::getLandDescriptionsCoro",