diff options
author | jianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-13 22:17:04 +0000 |
---|---|---|
committer | jianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-13 22:17:04 +0000 |
commit | 1897eb149d1d1cec1e6c5c69d207edabb3bc4f22 (patch) | |
tree | 1fce00720f84d83039d03ff67a96c0ff9989e946 /chrome/worker | |
parent | 0520f1a4b181de494c4e1f6d17f6c955f096f223 (diff) | |
download | chromium_src-1897eb149d1d1cec1e6c5c69d207edabb3bc4f22.zip chromium_src-1897eb149d1d1cec1e6c5c69d207edabb3bc4f22.tar.gz chromium_src-1897eb149d1d1cec1e6c5c69d207edabb3bc4f22.tar.bz2 |
Enable the workers in WorkerThread so that the nested worker can be created.
Review URL: http://codereview.chromium.org/66015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13617 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/worker')
-rw-r--r-- | chrome/worker/worker_thread.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/worker/worker_thread.cc b/chrome/worker/worker_thread.cc index f37904a..8ae8fab 100644 --- a/chrome/worker/worker_thread.cc +++ b/chrome/worker/worker_thread.cc @@ -21,6 +21,9 @@ void WorkerThread::Init() { ChildThread::Init(); webkit_client_.reset(new WorkerWebKitClientImpl); WebKit::initialize(webkit_client_.get()); + + // Enable the worker so that the nested worker can be created. + WebKit::enableWebWorkers(); } void WorkerThread::CleanUp() { |