From 70ea60c0388c2de4dccc85e2bd9d87fba85bd194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Naz=C4=B1m=20Can=20Alt=C4=B1nova?= Date: Mon, 20 Mar 2017 18:54:54 +0300 Subject: [PATCH] Bug 1348873 - Change ServoType to uint64_t instead of uint16_t in EventStates r=emilio MozReview-Commit-ID: GDP6XaL96ez --HG-- extra : rebase_source : 6aa38ac64b3706961709b27d31903dc24405ee57 --- dom/events/EventStates.h | 2 +- layout/style/ServoBindings.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dom/events/EventStates.h b/dom/events/EventStates.h index ddab2cdf8beb..83df040cb5ea 100644 --- a/dom/events/EventStates.h +++ b/dom/events/EventStates.h @@ -25,7 +25,7 @@ class EventStates { public: typedef uint64_t InternalType; - typedef uint16_t ServoType; + typedef uint64_t ServoType; constexpr EventStates() : mStates(0) diff --git a/layout/style/ServoBindings.h b/layout/style/ServoBindings.h index 0d240380cbd3..4ebbf373f41c 100644 --- a/layout/style/ServoBindings.h +++ b/layout/style/ServoBindings.h @@ -144,7 +144,7 @@ void Gecko_DropStyleChildrenIterator(StyleChildrenIteratorOwned it); RawGeckoNodeBorrowedOrNull Gecko_GetNextStyleChild(StyleChildrenIteratorBorrowedMut it); // Selector Matching. -uint16_t Gecko_ElementState(RawGeckoElementBorrowed element); +uint64_t Gecko_ElementState(RawGeckoElementBorrowed element); bool Gecko_IsLink(RawGeckoElementBorrowed element); bool Gecko_IsTextNode(RawGeckoNodeBorrowed node); bool Gecko_IsVisitedLink(RawGeckoElementBorrowed element);