Bug 1505935 Part 5 - Remove unnecessary NoteContentParse call, r=froydnj.
authorBrian Hackett <bhackett1024@gmail.com>
Sat, 10 Nov 2018 15:28:50 -1000
changeset 506802 d0c382d99e7646c161244b7e73429362f6caaa58
parent 506801 2b12903dd3784f4e6d1b6190eaf97b20d77f33df
child 506803 44f52ad4773bbe634f031ad08cf3a0e6f2310ae5
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1505935
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1505935 Part 5 - Remove unnecessary NoteContentParse call, r=froydnj.
dom/script/ScriptLoader.cpp
--- a/dom/script/ScriptLoader.cpp
+++ b/dom/script/ScriptLoader.cpp
@@ -2431,20 +2431,16 @@ ScriptLoader::EvaluateScript(ScriptLoadR
                                               aRequest->ScriptBinASTData().begin(),
                                               aRequest->ScriptBinASTData().length(),
                                               &script);
               } else {
                 MOZ_ASSERT(aRequest->IsTextSource());
                 auto srcBuf = GetScriptSource(cx, aRequest);
 
                 if (srcBuf) {
-                  if (recordreplay::IsRecordingOrReplaying()) {
-                    recordreplay::NoteContentParse16(this, options.filename(), "application/javascript",
-                                                     srcBuf->get(), srcBuf->length());
-                  }
                   rv = exec.CompileAndExec(options, *srcBuf, &script);
                 } else {
                   rv = NS_ERROR_OUT_OF_MEMORY;
                 }
               }
             }
           }