| Index: Source/core/page/PageLifecycleObserver.cpp
|
| diff --git a/Source/core/dom/TransformSourceLibxslt.cpp b/Source/core/page/PageLifecycleObserver.cpp
|
| similarity index 80%
|
| copy from Source/core/dom/TransformSourceLibxslt.cpp
|
| copy to Source/core/page/PageLifecycleObserver.cpp
|
| index 6580a117a88754403fc4aada74a3778fe29d335d..60d61869604a7ca79bbafe3604ad87ace5a8c7d8 100644
|
| --- a/Source/core/dom/TransformSourceLibxslt.cpp
|
| +++ b/Source/core/page/PageLifecycleObserver.cpp
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2009 Apple Inc. All rights reserved.
|
| + * Copyright (C) 2013 Google Inc. All Rights Reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions
|
| @@ -23,22 +23,22 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#include "config.h"
|
|
|
| -#include "core/dom/TransformSource.h"
|
| +#include "config.h"
|
| +#include "core/page/PageLifecycleObserver.h"
|
|
|
| -#include <libxml/tree.h>
|
| +#include "core/page/Page.h"
|
|
|
| namespace WebCore {
|
|
|
| -TransformSource::TransformSource(xmlDocPtr source)
|
| - : m_source(source)
|
| +PageLifecycleObserver::PageLifecycleObserver(Page* page)
|
| + : SimpleLifecycleObserver(page)
|
| {
|
| }
|
|
|
| -TransformSource::~TransformSource()
|
| +PageLifecycleObserver::~PageLifecycleObserver()
|
| {
|
| - xmlFreeDoc(m_source);
|
| + observeContext(0, PageLifecycleObserverType);
|
| }
|
|
|
| } // namespace WebCore
|
|
|