Bug 1426504 - Add missing this-> to fix mass bustage when Gecko 59 merges to Beta. r=jandem
authorRyan VanderMeulen <ryanvm@gmail.com>
Wed, 20 Dec 2017 17:07:39 -0500
changeset 448852 ce1ee748c8eba5ec03773bd8c437200ff0a03132
parent 448851 2f9a63f9e23eea444ea5ce9fbdb13a3b310b7ada
child 448853 d94f6fad91e42260b0a93f097bb38d93aea41970
push id8527
push userCallek@gmail.com
push dateThu, 11 Jan 2018 21:05:50 +0000
treeherdermozilla-beta@95342d212a7a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs1426504
milestone59.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 1426504 - Add missing this-> to fix mass bustage when Gecko 59 merges to Beta. r=jandem
js/src/frontend/Parser.cpp
--- a/js/src/frontend/Parser.cpp
+++ b/js/src/frontend/Parser.cpp
@@ -3769,17 +3769,17 @@ GeneralParser<ParseHandler, CharT>::func
                 kind == GetterNoExpressionClosure || kind == SetterNoExpressionClosure ||
                 IsConstructorKind(kind) || kind == PrimaryExpression)
             {
                 error(JSMSG_CURLY_BEFORE_BODY);
                 return false;
             }
 
 #if JS_HAS_EXPR_CLOSURES
-            addTelemetry(DeprecatedLanguageExtension::ExpressionClosure);
+            this->addTelemetry(DeprecatedLanguageExtension::ExpressionClosure);
             if (!warnOnceAboutExprClosure())
                 return false;
 #else
             error(JSMSG_CURLY_BEFORE_BODY);
             return false;
 #endif
         }