From e43dd64094a0b14d27a9601110e126a5af88f625 Mon Sep 17 00:00:00 2001 From: "dimich@google.com" Date: Tue, 16 Jun 2009 21:27:30 +0000 Subject: 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 --- webkit/glue/webworker_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webkit') 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(content.length()); RefPtr buf( WebCore::SharedBuffer::create(content.data(), len)); -- cgit v1.1