diff options
author | dimich@google.com <dimich@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-16 21:27:30 +0000 |
---|---|---|
committer | dimich@google.com <dimich@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-16 21:27:30 +0000 |
commit | e43dd64094a0b14d27a9601110e126a5af88f625 (patch) | |
tree | 3a32caf806bc23be4830cf1f9aa347858f11b1c4 /webkit | |
parent | 65caea420f610d92b0068f7efd3ba75fc689fbb8 (diff) | |
download | chromium_src-e43dd64094a0b14d27a9601110e126a5af88f625.zip chromium_src-e43dd64094a0b14d27a9601110e126a5af88f625.tar.gz chromium_src-e43dd64094a0b14d27a9601110e126a5af88f625.tar.bz2 |
Fix for occasional crash in a Worker process caused by 'shadow page' trying to load font for layout.
BUG=14194
TEST=none (hard to even repro)
Review URL: http://codereview.chromium.org/125213
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18531 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/webworker_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/webworker_impl.cc b/webkit/glue/webworker_impl.cc index 1328dd6..4b3ba67 100644 --- a/webkit/glue/webworker_impl.cc +++ b/webkit/glue/webworker_impl.cc @@ -155,7 +155,7 @@ void WebWorkerImpl::startWorkerContext(const WebURL& script_url, // Construct substitute data source for the 'shadow page'. We only need it // to have same origin as the worker so the loading checks work correctly. - WebCore::CString content("Shadow page"); + WebCore::CString content(""); int len = static_cast<int>(content.length()); RefPtr<WebCore::SharedBuffer> buf( WebCore::SharedBuffer::create(content.data(), len)); |