extensions/gio/Makefile.in
author Robert O'Callahan <robert@ocallahan.org>
Fri, 28 Sep 2012 23:19:39 +1200
changeset 108581 23f1b8c7d17e912c28c35987c3b321641bcb5c8d
parent 108368 00e193643aa94bb1ecaf11bfba172c3c4e0aaa45
child 110789 d243048bc966c3657962ba32c93db77089667abc
permissions -rw-r--r--
Bug 539356. Make PruneDisplayListForExtraPage prune print preview properly. r=mattwoodrow PruneDisplayListForExtraPage wasn't pruning properly in print preview. It was pruning to the RootReferenceFrame, which is per-page when printing normally, but is the ancestor of all pages in print preview, so it wasn't doing anything in print preview. So, pass in the nsPageFrame we want to prune to. This prevents bogus entirely-clipped-out display items appearing in the display list for the page.

# vim:set ts=8 sw=8 sts=8 noet:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

DEPTH		= @DEPTH@
topsrcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@

include $(DEPTH)/config/autoconf.mk

MODULE		= nkgio
LIBRARY_NAME	= nkgio
SHORT_LIBNAME	= nkgio
IS_COMPONENT	= 1

CPPSRCS		= \
		nsGIOProtocolHandler.cpp \
		$(NULL)

LOCAL_INCLUDES	= $(MOZ_GIO_CFLAGS)

EXTRA_DSO_LDOPTS = \
		   $(XPCOM_GLUE_LDOPTS) \
		   $(MOZ_COMPONENT_LIBS) \
		   $(MOZ_GIO_LIBS) \
		   $(NULL)

# make sure this component is never statically linked into the main
# application.  this is necessary since we don't want to force users
# to install gio in order to use the rest of mozilla ;-)
FORCE_SHARED_LIB= 1

include $(topsrcdir)/config/rules.mk