From a9c281eb57206a0ff7083788e593a22b9f8ad01a Mon Sep 17 00:00:00 2001 From: Cho Date: Tue, 24 Jun 2014 03:47:03 +0100 Subject: Updated ExperienceResponder in llpreviewscript.cpp to use new LLCurl::Responder interface for ACME-1534 --- indra/newview/llpreviewscript.cpp | 6 +++--- 1 file 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& parent):mParent(parent) @@ -132,13 +132,13 @@ public: LLHandle 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"]); } }; -- cgit v1.2.3