diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in index 3bde173cefc4..862dc5fa2ac9 100644 --- a/browser/installer/package-manifest.in +++ b/browser/installer/package-manifest.in @@ -747,6 +747,7 @@ bin/libfreebl_32int64_3.so #ifdef MOZ_METRO @BINPATH@/components/MetroUIUtils.js +@BINPATH@/components/MetroUIUtils.manifest [metro] ; gre resources @BINPATH@/CommandExecuteHandler@BIN_SUFFIX@ diff --git a/browser/locales/l10n.ini b/browser/locales/l10n.ini index 716004bf8690..df5eb7ac03e2 100644 --- a/browser/locales/l10n.ini +++ b/browser/locales/l10n.ini @@ -8,7 +8,6 @@ all = browser/locales/all-locales [compare] dirs = browser - browser/metro extensions/reporter other-licenses/branding/firefox browser/branding/official diff --git a/gfx/layers/basic/BasicTiledThebesLayer.cpp b/gfx/layers/basic/BasicTiledThebesLayer.cpp index 85cebf47092d..f6b58fe55768 100644 --- a/gfx/layers/basic/BasicTiledThebesLayer.cpp +++ b/gfx/layers/basic/BasicTiledThebesLayer.cpp @@ -421,7 +421,6 @@ BasicTiledThebesLayer::ProgressiveUpdate(BasicTiledLayerBuffer& aTiledBuffer, void* aCallbackData) { bool repeat = false; - bool isBufferChanged = false; do { // Compute the region that should be updated. Repeat as many times as // is required. @@ -436,13 +435,16 @@ BasicTiledThebesLayer::ProgressiveUpdate(BasicTiledLayerBuffer& aTiledBuffer, aResolution, repeat); - // There's no further work to be done. + // There's no further work to be done, return if nothing has been + // drawn, or give what has been drawn to the shadow layer to upload. if (regionToPaint.IsEmpty()) { - break; + if (repeat) { + break; + } else { + return false; + } } - isBufferChanged = true; - // Keep track of what we're about to refresh. aValidRegion.Or(aValidRegion, regionToPaint); @@ -457,9 +459,7 @@ BasicTiledThebesLayer::ProgressiveUpdate(BasicTiledLayerBuffer& aTiledBuffer, aInvalidRegion.Sub(aInvalidRegion, regionToPaint); } while (repeat); - // Return false if nothing has been drawn, or give what has been drawn - // to the shadow layer to upload. - return isBufferChanged; + return true; } void diff --git a/widget/windows/winrt/Makefile.in b/widget/windows/winrt/Makefile.in index ca7c17da5737..bf19b961abc5 100644 --- a/widget/windows/winrt/Makefile.in +++ b/widget/windows/winrt/Makefile.in @@ -63,10 +63,9 @@ MIDL_GENERATED_FILES = \ dlldata.c \ $(NULL) -EXTRA_PP_COMPONENTS = components.manifest \ - $(NULL) EXTRA_COMPONENTS = MetroUIUtils.js \ - $(NULL) + MetroUIUtils.manifest \ + $(NULL) GARBAGE += $(MIDL_GENERATED_FILES) done_gen diff --git a/widget/windows/winrt/components.manifest b/widget/windows/winrt/MetroUIUtils.manifest similarity index 100% rename from widget/windows/winrt/components.manifest rename to widget/windows/winrt/MetroUIUtils.manifest