| Index: third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp b/third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.cpp
|
| similarity index 79%
|
| rename from third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp
|
| rename to third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.cpp
|
| index dbc26b5f3d6a922b2f224371b4e73f5a8bb298f6..0d2b88a552ce845b5965e6de6ebb8ec1dfe4cb03 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.cpp
|
| @@ -28,22 +28,22 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#include "core/dom/custom/CustomElementUpgradeCandidateMap.h"
|
| +#include "core/dom/custom/V0CustomElementUpgradeCandidateMap.h"
|
|
|
| #include "core/dom/Element.h"
|
|
|
| namespace blink {
|
|
|
| -CustomElementUpgradeCandidateMap* CustomElementUpgradeCandidateMap::create()
|
| +V0CustomElementUpgradeCandidateMap* V0CustomElementUpgradeCandidateMap::create()
|
| {
|
| - return new CustomElementUpgradeCandidateMap();
|
| + return new V0CustomElementUpgradeCandidateMap();
|
| }
|
|
|
| -CustomElementUpgradeCandidateMap::~CustomElementUpgradeCandidateMap()
|
| +V0CustomElementUpgradeCandidateMap::~V0CustomElementUpgradeCandidateMap()
|
| {
|
| }
|
|
|
| -void CustomElementUpgradeCandidateMap::add(const CustomElementDescriptor& descriptor, Element* element)
|
| +void V0CustomElementUpgradeCandidateMap::add(const V0CustomElementDescriptor& descriptor, Element* element)
|
| {
|
| observe(element);
|
|
|
| @@ -59,9 +59,9 @@ void CustomElementUpgradeCandidateMap::add(const CustomElementDescriptor& descri
|
| elements->add(element);
|
| }
|
|
|
| -void CustomElementUpgradeCandidateMap::elementWasDestroyed(Element* element)
|
| +void V0CustomElementUpgradeCandidateMap::elementWasDestroyed(Element* element)
|
| {
|
| - CustomElementObserver::elementWasDestroyed(element);
|
| + V0CustomElementObserver::elementWasDestroyed(element);
|
| UpgradeCandidateMap::iterator candidate = m_upgradeCandidates.find(element);
|
| ASSERT_WITH_SECURITY_IMPLICATION(candidate != m_upgradeCandidates.end());
|
|
|
| @@ -71,7 +71,7 @@ void CustomElementUpgradeCandidateMap::elementWasDestroyed(Element* element)
|
| m_upgradeCandidates.remove(candidate);
|
| }
|
|
|
| -CustomElementUpgradeCandidateMap::ElementSet* CustomElementUpgradeCandidateMap::takeUpgradeCandidatesFor(const CustomElementDescriptor& descriptor)
|
| +V0CustomElementUpgradeCandidateMap::ElementSet* V0CustomElementUpgradeCandidateMap::takeUpgradeCandidatesFor(const V0CustomElementDescriptor& descriptor)
|
| {
|
| ElementSet* candidates = m_unresolvedDefinitions.take(descriptor);
|
|
|
| @@ -85,11 +85,11 @@ CustomElementUpgradeCandidateMap::ElementSet* CustomElementUpgradeCandidateMap::
|
| return candidates;
|
| }
|
|
|
| -DEFINE_TRACE(CustomElementUpgradeCandidateMap)
|
| +DEFINE_TRACE(V0CustomElementUpgradeCandidateMap)
|
| {
|
| visitor->trace(m_upgradeCandidates);
|
| visitor->trace(m_unresolvedDefinitions);
|
| - CustomElementObserver::trace(visitor);
|
| + V0CustomElementObserver::trace(visitor);
|
| }
|
|
|
| } // namespace blink
|
|
|