summaryrefslogtreecommitdiff
path: root/indra/newview/llscripteditor.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-05-07 15:18:44 -0400
committerOz Linden <oz@lindenlab.com>2014-05-07 15:18:44 -0400
commit1e851a2eb70e5f6b12a47c382efb3b9b17674993 (patch)
tree297b84f95af4c0fefd08e5c48159b69f7739be76 /indra/newview/llscripteditor.cpp
parenta98b4b6bee1b062722ce5eb03948a0fd33b74265 (diff)
correct bad merges from 3.7.7-release
Diffstat (limited to 'indra/newview/llscripteditor.cpp')
-rw-r--r--indra/newview/llscripteditor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llscripteditor.cpp b/indra/newview/llscripteditor.cpp
index 5d87f7ba0c..12c328e809 100644
--- a/indra/newview/llscripteditor.cpp
+++ b/indra/newview/llscripteditor.cpp
@@ -49,11 +49,11 @@ void LLScriptEditor::initKeywords()
mKeywords.initialise(LLSyntaxIdLSL::getInstance()->getKeywordsXML());
}
-static LLFastTimer::DeclareTimer FTM_SYNTAX_HIGHLIGHTING("Syntax Highlighting");
+LLTrace::BlockTimerStatHandle FTM_SYNTAX_HIGHLIGHTING("Syntax Highlighting");
void LLScriptEditor::loadKeywords()
{
- LLFastTimer ft(FTM_SYNTAX_HIGHLIGHTING);
+ LL_RECORD_BLOCK_TIME(FTM_SYNTAX_HIGHLIGHTING);
mKeywords.processTokens();
segment_vec_t segment_list;
@@ -71,7 +71,7 @@ void LLScriptEditor::updateSegments()
{
if (mReflowIndex < S32_MAX && mKeywords.isLoaded() && mParseOnTheFly)
{
- LLFastTimer ft(FTM_SYNTAX_HIGHLIGHTING);
+ LL_RECORD_BLOCK_TIME(FTM_SYNTAX_HIGHLIGHTING);
// HACK: No non-ascii keywords for now
segment_vec_t segment_list;
mKeywords.findSegments(&segment_list, getWText(), mDefaultColor.get(), *this);