Bug 1457586 - Fix unified build bustage from bug 1420996. r=kats
authorBotond Ballo <botond@mozilla.com>
Fri, 05 Oct 2018 16:51:11 +0000
changeset 495568 65403cf5da8af663513ccd84dfe16f3a3d1b5ddb
parent 495567 4204f9fab5fea59e25e6413726b65976540b3432
child 495569 664a7c0f81838749901456166cbff2f9a5317db6
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1457586, 1420996
milestone64.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 1457586 - Fix unified build bustage from bug 1420996. r=kats Differential Revision: https://phabricator.services.mozilla.com/D7653
gfx/layers/apz/testutil/APZTestData.cpp
--- a/gfx/layers/apz/testutil/APZTestData.cpp
+++ b/gfx/layers/apz/testutil/APZTestData.cpp
@@ -64,17 +64,17 @@ struct APZTestDataToJSConverter {
   static void ConvertString(const std::string& aFrom, nsString& aOutTo) {
     aOutTo = NS_ConvertUTF8toUTF16(aFrom.c_str(), aFrom.size());
   }
 
   static void ConvertHitResult(const APZTestData::HitResult& aResult,
                                dom::APZHitResult& aOutHitResult) {
     aOutHitResult.mScreenX.Construct() = aResult.point.x;
     aOutHitResult.mScreenY.Construct() = aResult.point.y;
-    static_assert(MaxEnumValue<CompositorHitTestInfo::valueType>::value
+    static_assert(MaxEnumValue<gfx::CompositorHitTestInfo::valueType>::value
                   < std::numeric_limits<uint16_t>::digits,
                   "CompositorHitTestFlags MAX value have to be less than number of bits in uint16_t");
     aOutHitResult.mHitResult.Construct() = static_cast<uint16_t>(aResult.result.serialize());
     aOutHitResult.mScrollId.Construct() = aResult.scrollId;
   }
 };
 
 bool