Bug 1549541. Remove nsPrintSettingsImpl mPrintPreview. r=bobowen
authorJonathan Watt <jwatt@jwatt.org>
Wed, 10 Apr 2019 10:41:13 +0100
changeset 531868 1ec1cbe74a0ad042b662e6577f709da5639968a6
parent 531867 eb44ee7510d1ce6ec33e82453d774a91427c04fc
child 531869 efed47379383b1fc34b70f4bb78dbc5b694e2107
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbobowen
bugs1549541
milestone68.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 1549541. Remove nsPrintSettingsImpl mPrintPreview. r=bobowen Differential Revision: https://phabricator.services.mozilla.com/D30092
widget/nsPrintSettingsImpl.cpp
widget/nsPrintSettingsImpl.h
--- a/widget/nsPrintSettingsImpl.cpp
+++ b/widget/nsPrintSettingsImpl.cpp
@@ -21,17 +21,16 @@ nsPrintSettings::nsPrintSettings()
       mPrintBGColors(false),
       mPrintBGImages(false),
       mPrintFrameTypeUsage(kUseInternalDefault),
       mPrintFrameType(kFramesAsIs),
       mHowToEnableFrameUI(kFrameEnableNone),
       mIsCancelled(false),
       mSaveOnCancel(true),
       mPrintSilent(false),
-      mPrintPreview(false),
       mShrinkToFit(true),
       mShowPrintProgress(true),
       mPrintPageDelay(50),
       mPaperData(0),
       mPaperWidth(8.5),
       mPaperHeight(11.0),
       mPaperSizeUnit(kPaperSizeInches),
       mPrintReversed(false),
--- a/widget/nsPrintSettingsImpl.h
+++ b/widget/nsPrintSettingsImpl.h
@@ -56,17 +56,16 @@ class nsPrintSettings : public nsIPrintS
   bool mPrintBGImages;  // print background images
 
   int16_t mPrintFrameTypeUsage;
   int16_t mPrintFrameType;
   int16_t mHowToEnableFrameUI;
   bool mIsCancelled;
   bool mSaveOnCancel;
   bool mPrintSilent;
-  bool mPrintPreview;
   bool mShrinkToFit;
   bool mShowPrintProgress;
   int32_t mPrintPageDelay;
 
   nsString mTitle;
   nsString mURL;
   nsString mPageNumberFormat;
   nsString mHeaderStrs[NUM_HEAD_FOOT];