[MICRODATA] Build failure in html/HTMLPropertiesCollection.h
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Jul 2012 16:59:15 +0000 (16:59 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Jul 2012 16:59:15 +0000 (16:59 +0000)
https://bugs.webkit.org/show_bug.cgi?id=90379

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-02
Reviewed by Ryosuke Niwa.

Switch HTMLCollection::append() visibility from private
to protected so that HTMLPropertiesCollection subclass
can call it. This fixes build when MICRODATA flag is
turned on.

No new tests, build fix.

* html/HTMLCollection.h:
(HTMLCollectionCacheBase):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121689 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/html/HTMLCollection.h

index 967546d..ccc86a4 100644 (file)
@@ -1,3 +1,20 @@
+2012-07-02  Christophe Dumez  <christophe.dumez@intel.com>
+
+        [MICRODATA] Build failure in html/HTMLPropertiesCollection.h
+        https://bugs.webkit.org/show_bug.cgi?id=90379
+
+        Reviewed by Ryosuke Niwa.
+
+        Switch HTMLCollection::append() visibility from private
+        to protected so that HTMLPropertiesCollection subclass
+        can call it. This fixes build when MICRODATA flag is
+        turned on.
+
+        No new tests, build fix.
+
+        * html/HTMLCollection.h:
+        (HTMLCollectionCacheBase):
+
 2012-07-02  Kwang Yul Seo  <skyul@company100.net>
 
         A start "body" tag in the "in body" insertion mode is a parse error
index cf71374..ba7c21c 100644 (file)
@@ -83,13 +83,13 @@ protected:
     bool hasNameCache() const { return m_hasNameCache; }
     void setHasNameCache() const { m_hasNameCache = true; }
 
+    static void append(NodeCacheMap&, const AtomicString&, Element*);
+
 private:
     using DynamicNodeListCacheBase::isRootedAtDocument;
     using DynamicNodeListCacheBase::shouldInvalidateOnAttributeChange;
     using DynamicNodeListCacheBase::clearCache;
 
-    static void append(NodeCacheMap&, const AtomicString&, Element*);
-
     mutable NodeCacheMap m_idCache;
     mutable NodeCacheMap m_nameCache;
     mutable unsigned m_cachedElementsArrayOffset;