Index: xfa/src/fwl/src/core/fwl_widgetmgrimp.cpp |
diff --git a/xfa/src/fwl/src/core/fwl_widgetmgrimp.cpp b/xfa/src/fwl/src/core/fwl_widgetmgrimp.cpp |
index 610345f1d4335c3d9188b6e8031017499de9b7b8..577ff07909ccf9151c6bd73d2d285c005e199bee 100644 |
--- a/xfa/src/fwl/src/core/fwl_widgetmgrimp.cpp |
+++ b/xfa/src/fwl/src/core/fwl_widgetmgrimp.cpp |
@@ -33,13 +33,6 @@ CFWL_WidgetMgr::CFWL_WidgetMgr(IFWL_AdapterNative* pAdapterNative) |
m_mapWidgetItem.SetAt(NULL, pRoot); |
#if (_FX_OS_ == _FX_WIN32_DESKTOP_) || (_FX_OS_ == _FX_WIN64_) |
m_rtScreen.Reset(); |
- IFWL_AdapterMonitorMgr* pMonitorMgr = pAdapterNative->GetMonitorMgr(); |
- if (pMonitorMgr) { |
- FWL_HMONITOR monitor = pMonitorMgr->GetCurrentMonitor(); |
- if (monitor) { |
- pMonitorMgr->GetMonitorSize(monitor, m_rtScreen.width, m_rtScreen.height); |
- } |
- } |
#endif |
} |
CFWL_WidgetMgr::~CFWL_WidgetMgr() { |