| Index: Source/web/WebWorkerSettingsImpl.cpp
|
| diff --git a/Source/web/WebCustomElement.cpp b/Source/web/WebWorkerSettingsImpl.cpp
|
| similarity index 75%
|
| copy from Source/web/WebCustomElement.cpp
|
| copy to Source/web/WebWorkerSettingsImpl.cpp
|
| index 0a65fb6cd5ea2c95e7dcf581b47c91f6d545552a..b41da43feecd719b1f6b86585f7af14dce385a8a 100644
|
| --- a/Source/web/WebCustomElement.cpp
|
| +++ b/Source/web/WebWorkerSettingsImpl.cpp
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2013 Google Inc. All rights reserved.
|
| + * Copyright (C) 2014 Intel Corporation. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions are
|
| @@ -11,7 +11,7 @@
|
| * copyright notice, this list of conditions and the following disclaimer
|
| * in the documentation and/or other materials provided with the
|
| * distribution.
|
| - * * Neither the name of Google Inc. nor the names of its
|
| + * * Neither the name of Intel Corporation nor the names of its
|
| * contributors may be used to endorse or promote products derived from
|
| * this software without specific prior written permission.
|
| *
|
| @@ -29,18 +29,27 @@
|
| */
|
|
|
| #include "config.h"
|
| -#include "WebCustomElement.h"
|
| +#include "WebWorkerSettingsImpl.h"
|
|
|
| -#include "../platform/WebString.h"
|
| -#include "core/dom/custom/CustomElement.h"
|
| +#include "core/workers/WorkerSettings.h"
|
|
|
| using namespace WebCore;
|
|
|
| namespace blink {
|
|
|
| -void WebCustomElement::addEmbedderCustomElementName(const WebString& name)
|
| +WebWorkerSettingsImpl::WebWorkerSettingsImpl()
|
| + : m_settings(WorkerSettings::create())
|
| {
|
| - CustomElement::addEmbedderCustomElementName(name);
|
| +}
|
| +
|
| +void WebWorkerSettingsImpl::setMemoryInfoEnabled(bool enabled)
|
| +{
|
| + m_settings->setMemoryInfoEnabled(enabled);
|
| +}
|
| +
|
| +bool WebWorkerSettingsImpl::memoryInfoEnabled()
|
| +{
|
| + return m_settings->memoryInfoEnabled();
|
| }
|
|
|
| } // namespace blink
|
|
|