Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / imports / HTMLImport.cpp
index 4726f71..114e2b3 100644 (file)
@@ -33,8 +33,9 @@
 
 #include "core/dom/Document.h"
 #include "core/html/imports/HTMLImportStateResolver.h"
+#include "wtf/Vector.h"
 
-namespace WebCore {
+namespace blink {
 
 HTMLImport* HTMLImport::root()
 {
@@ -87,8 +88,8 @@ void HTMLImport::stateDidChange()
 
 void HTMLImport::recalcTreeState(HTMLImport* root)
 {
-    HashMap<HTMLImport*, HTMLImportState> snapshot;
-    Vector<HTMLImport*> updated;
+    WillBeHeapHashMap<RawPtrWillBeMember<HTMLImport>, HTMLImportState> snapshot;
+    WillBeHeapVector<RawPtrWillBeMember<HTMLImport> > updated;
 
     for (HTMLImport* i = root; i; i = traverseNext(i)) {
         snapshot.add(i, i->state());
@@ -140,4 +141,4 @@ void HTMLImport::showThis()
 }
 #endif
 
-} // namespace WebCore
+} // namespace blink