| Index: Source/core/workers/WorkerSettings.cpp
|
| diff --git a/Source/core/workers/WorkerSettings.cpp b/Source/core/workers/WorkerSettings.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f83869d40eb9f50c7fac4133cecc469596e9ffb7
|
| --- /dev/null
|
| +++ b/Source/core/workers/WorkerSettings.cpp
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "config.h"
|
| +#include "core/workers/WorkerSettings.h"
|
| +
|
| +#include "core/frame/Settings.h"
|
| +
|
| +namespace WebCore {
|
| +
|
| +WorkerSettings::WorkerSettings(Settings* settings)
|
| + : m_memoryInfoEnabled(false)
|
| +{
|
| + if (!settings)
|
| + return;
|
| +
|
| + m_memoryInfoEnabled = settings->memoryInfoEnabled();
|
| +}
|
| +
|
| +} // namespace WebCore
|
|
|