summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewscript.cpp
diff options
context:
space:
mode:
authorCho <cho@lindenlab.com>2014-06-24 03:47:03 +0100
committerCho <cho@lindenlab.com>2014-06-24 03:47:03 +0100
commita9c281eb57206a0ff7083788e593a22b9f8ad01a (patch)
tree7bd8b54c3e3fbabdff6d3d32a97a76e9200dbfa0 /indra/newview/llpreviewscript.cpp
parent7a15be83bf0692a927d2d2876190e63a99eccad2 (diff)
Updated ExperienceResponder in llpreviewscript.cpp to use new LLCurl::Responder interface for ACME-1534
Diffstat (limited to 'indra/newview/llpreviewscript.cpp')
-rwxr-xr-xindra/newview/llpreviewscript.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp
index 99c6f2bd12..780c41172d 100755
--- a/indra/newview/llpreviewscript.cpp
+++ b/indra/newview/llpreviewscript.cpp
@@ -123,7 +123,7 @@ static bool have_script_upload_cap(LLUUID& object_id)
}
-class ExperienceResponder : public LLHTTPClient::Responder
+class ExperienceResponder : public LLCurl::Responder
{
public:
ExperienceResponder(const LLHandle<LLLiveLSLEditor>& parent):mParent(parent)
@@ -132,13 +132,13 @@ public:
LLHandle<LLLiveLSLEditor> mParent;
- virtual void result(const LLSD& content)
+ /*virtual*/ void httpSuccess()
{
LLLiveLSLEditor* parent = mParent.get();
if(!parent)
return;
- parent->setExperienceIds(content["experience_ids"]);
+ parent->setExperienceIds(getContent()["experience_ids"]);
}
};