summaryrefslogtreecommitdiff
path: root/src/webenginewidgets/api/qwebengineview.cpp
diff options
context:
space:
mode:
authorIlia Kirianovskii <ilia.kirianovskii@lgepartner.com>2016-02-15 08:02:28 +0300
committerIlia Kirianovskii <ilia.kirianovskii@lgepartner.com>2016-03-10 13:04:02 +0000
commit623faac123fbabab5e12cbb6505178586172bdba (patch)
tree76d0083b81e73458f29780eebcf44427e1ebc010 /src/webenginewidgets/api/qwebengineview.cpp
parent01568d42ca08d23528637ee906765b18e0f2b941 (diff)
downloadqtwebengine-623faac123fbabab5e12cbb6505178586172bdba.tar.gz
Initialize lazy base::CPU when IO are allowed
We should initialize base::CPU to get it a chance to read /proc/cpuinfo when IO operations are allowed. So it prevents the following error on ARM platform: ``` [0204/071425:FATAL:thread_restrictions.cc(38)] Function marked as IO-only was called from a thread that disallows IO! If this thread really should be allowed to make IO calls, adjust the call to base::ThreadRestrictions::SetIOAllowed() in this thread's startup. ``` In the same manner it is done in ChromeMainDelegate::PreSandboxStartup. Change-Id: I1facd9d856a8dbfdf03ddbb1ab8d76d2efe69050 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'src/webenginewidgets/api/qwebengineview.cpp')
0 files changed, 0 insertions, 0 deletions