Backed out changeset b664f1fdec85 (bug 1467536) for build bustage
authorDorel Luca <dluca@mozilla.com>
Fri, 08 Jun 2018 16:22:47 +0300
changeset 422010 d2da1fe0c939cb2f381fabe1198a7b3ebb2d7016
parent 422009 120a4d4dced81e390d3d25dba18004ad8a0a544d
child 422011 4db98fad2f4e690d141c96f86fa38d6ba7cc7c0d
push id34114
push userbtara@mozilla.com
push dateSat, 09 Jun 2018 15:31:58 +0000
treeherdermozilla-central@e02a5155d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1467536
milestone62.0a1
backs outb664f1fdec855499403ac749d5a405716b6328a9
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
Backed out changeset b664f1fdec85 (bug 1467536) for build bustage
layout/style/nsComputedDOMStyle.cpp
--- a/layout/style/nsComputedDOMStyle.cpp
+++ b/layout/style/nsComputedDOMStyle.cpp
@@ -447,17 +447,17 @@ nsComputedDOMStyle::GetPropertyValue(con
   }
 
   const bool layoutFlushIsNeeded = entry && entry->IsLayoutFlushNeeded();
   UpdateCurrentStyleSources(layoutFlushIsNeeded);
   if (!mComputedStyle) {
     return NS_ERROR_NOT_AVAILABLE;
   }
 
-  auto cleanup = mozilla::MakeScopeExit([this] {
+  auto cleanup = mozilla::MakeScopeExit([&] {
     ClearCurrentStyleSources();
   });
 
   if (!entry) {
     MOZ_ASSERT(nsCSSProps::IsCustomPropertyName(aPropertyName));
     const nsAString& name =
       Substring(aPropertyName, CSS_CUSTOM_NAME_PREFIX_LENGTH);
     Servo_GetCustomPropertyValue(mComputedStyle, &name, &aReturn);