|
@@ -172,10 +172,10 @@ namespace Chromium {
|
|
|
#ifdef RVC_OS_WIN
|
|
|
auto ret = CModTools::get_mutable_instance().startCommonPage(strTitle, strUrl, width, height, point_x, point_y, strTop);
|
|
|
#else
|
|
|
- auto srcPids = getUosBrowserPIDs(m_UseUOSBrowser);
|
|
|
+ auto srcPids = getUosBrowserPIDs(CModTools::get_mutable_instance().getUosBrowser());
|
|
|
auto ret = CModTools::get_mutable_instance().startCommonPage(strTitle, strUrl, width, height, point_x, point_y, strTop);
|
|
|
std::this_thread::sleep_for(std::chrono::seconds(2));
|
|
|
- auto dstPids = getUosBrowserPIDs(m_UseUOSBrowser);
|
|
|
+ auto dstPids = getUosBrowserPIDs(CModTools::get_mutable_instance().getUosBrowser());
|
|
|
|
|
|
if (m_commonPageArr.find(strTitle) == m_commonPageArr.end())
|
|
|
{
|
|
@@ -205,6 +205,7 @@ namespace Chromium {
|
|
|
#ifdef RVC_OS_WIN
|
|
|
CModTools::get_mutable_instance().stopCommonPage(strName);
|
|
|
std::this_thread::sleep_for(std::chrono::seconds(1));
|
|
|
+ CModTools::get_mutable_instance().stopCommonPage(strName);
|
|
|
#else
|
|
|
if (m_commonPageArr.find(strName) != m_commonPageArr.end())
|
|
|
{
|