| Index: third_party/WebKit/Source/core/html/PublicURLManager.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/PublicURLManager.cpp b/third_party/WebKit/Source/core/html/PublicURLManager.cpp
|
| index 4695a7a9ab34e05891b79c1d0bbf3698bdc1ad65..27d11b79a9cd3ab95041a73fdae3ec40a101fc75 100644
|
| --- a/third_party/WebKit/Source/core/html/PublicURLManager.cpp
|
| +++ b/third_party/WebKit/Source/core/html/PublicURLManager.cpp
|
| @@ -37,13 +37,11 @@ namespace blink {
|
| class SecurityOrigin;
|
|
|
| PublicURLManager* PublicURLManager::create(ExecutionContext* context) {
|
| - PublicURLManager* publicURLManager = new PublicURLManager(context);
|
| - publicURLManager->suspendIfNeeded();
|
| - return publicURLManager;
|
| + return new PublicURLManager(context);
|
| }
|
|
|
| PublicURLManager::PublicURLManager(ExecutionContext* context)
|
| - : SuspendableObject(context), m_isStopped(false) {}
|
| + : ContextLifecycleObserver(context), m_isStopped(false) {}
|
|
|
| String PublicURLManager::registerURL(ExecutionContext* context,
|
| URLRegistrable* registrable,
|
| @@ -107,7 +105,7 @@ void PublicURLManager::contextDestroyed() {
|
| }
|
|
|
| DEFINE_TRACE(PublicURLManager) {
|
| - SuspendableObject::trace(visitor);
|
| + ContextLifecycleObserver::trace(visitor);
|
| }
|
|
|
| } // namespace blink
|
|
|