summaryrefslogtreecommitdiffstats
path: root/src/core/print_view_manager_base_qt.h
diff options
context:
space:
mode:
authorMichael BrĂ¼ning <michael.bruning@qt.io>2017-04-27 10:36:54 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2017-04-28 09:05:46 +0000
commit3a0a736f7c8d95e0a8abfc2d8920ef0111d79b67 (patch)
tree67c6ef0fff04277edb85c583f04d7a7c1df9f12c /src/core/print_view_manager_base_qt.h
parentada52a979840c39e883838095068c0da42019587 (diff)
Fix warning about unused variable on macOS
It is only used on platforms other than macOS. Fixed by flagging it out for macOS. Change-Id: Ib6f77525ca18cb7918c5e642aa2387defddfe803 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/core/print_view_manager_base_qt.h')
-rw-r--r--src/core/print_view_manager_base_qt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/print_view_manager_base_qt.h b/src/core/print_view_manager_base_qt.h
index 65bdbe3f1..9b302f960 100644
--- a/src/core/print_view_manager_base_qt.h
+++ b/src/core/print_view_manager_base_qt.h
@@ -146,7 +146,9 @@ private:
base::Closure m_quitClosure;
bool m_isInsideInnerMessageLoop;
+#if !defined(OS_MACOSX)
bool m_isExpectingFirstPage;
+#endif
bool m_didPrintingSucceed;
scoped_refptr<printing::PrintQueriesQueue> m_printerQueriesQueue;
// content::WebContentsObserver implementation.