diff options
Diffstat (limited to 'dom/base/nsDOMWindowUtils.cpp')
-rw-r--r-- | dom/base/nsDOMWindowUtils.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/dom/base/nsDOMWindowUtils.cpp b/dom/base/nsDOMWindowUtils.cpp index 9bc8340b90..16bf19534a 100644 --- a/dom/base/nsDOMWindowUtils.cpp +++ b/dom/base/nsDOMWindowUtils.cpp @@ -2039,7 +2039,7 @@ nsDOMWindowUtils::GetBoundsWithoutFlushing(Element* aElement, if (frame) { nsRect r = nsLayoutUtils::GetAllInFlowRectsUnion( frame, nsLayoutUtils::GetContainingBlockForClientRect(frame), - nsLayoutUtils::RECTS_ACCOUNT_FOR_TRANSFORMS); + nsLayoutUtils::GetAllInFlowRectsFlag::AccountForTransforms); rect->SetLayoutRect(r); } @@ -3333,12 +3333,6 @@ nsDOMWindowUtils::IsPartOfOpaqueLayer(Element* aElement, bool* aResult) { } NS_IMETHODIMP -nsDOMWindowUtils::NumberOfAssignedPaintedLayers( - const nsTArray<RefPtr<Element>>& aElements, uint32_t* aResult) { - return NS_ERROR_FAILURE; -} - -NS_IMETHODIMP nsDOMWindowUtils::EnableDialogs() { nsCOMPtr<nsPIDOMWindowOuter> window = do_QueryReferent(mWindow); NS_ENSURE_TRUE(window, NS_ERROR_FAILURE); |