https://bugs.webkit.org/show_bug.cgi?id=115770
Reviewed by Andreas Kling.
Merge https://chromium.googlesource.com/chromium/blink/+/
c2c2ff9cb69f46f5cc9d289b2bfbdb8ab5bd3e49
The de-virtualization possibilities were noted whilst "FINALizing" the Node
hierarchy. If a method is successfully marked FINAL but then fails when marked
OVERRIDE as well, the method by definition does not need to be virtual.
* WebCore.exp.in:
* dom/Element.h:
(WebCore::Element::hasAuthorShadowRoot):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@149718
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2013-05-08 Ryosuke Niwa <rniwa@webkit.org>
+
+ Remove unused method and de-virtualize others in Element.h
+ https://bugs.webkit.org/show_bug.cgi?id=115770
+
+ Reviewed by Andreas Kling.
+
+ Merge https://chromium.googlesource.com/chromium/blink/+/c2c2ff9cb69f46f5cc9d289b2bfbdb8ab5bd3e49
+
+ The de-virtualization possibilities were noted whilst "FINALizing" the Node
+ hierarchy. If a method is successfully marked FINAL but then fails when marked
+ OVERRIDE as well, the method by definition does not need to be virtual.
+
+ * WebCore.exp.in:
+ * dom/Element.h:
+ (WebCore::Element::hasAuthorShadowRoot):
+
2013-05-06 Darin Adler <darin@apple.com>
Use adoptCF and adoptNS in more places
__ZNK7WebCore7Element12getAttributeERKNS_13QualifiedNameE
__ZNK7WebCore7Element12hasAttributeERKN3WTF12AtomicStringE
__ZNK7WebCore7Element13pseudoElementENS_8PseudoIdE
+__ZNK7WebCore7Element25containsFullScreenElementEv
__ZNK7WebCore7Element6shadowEv
__ZNK7WebCore7IntRect10intersectsERKS0_
__ZNK7WebCore7IntRect8containsERKS0_
ShadowRoot* authorShadowRoot() const;
bool hasAuthorShadowRoot() const { return authorShadowRoot(); }
- virtual void willAddAuthorShadowRoot() { }
ShadowRoot* userAgentShadowRoot() const;
ShadowRoot* ensureUserAgentShadowRoot();
};
void webkitRequestFullScreen(unsigned short flags);
- virtual bool containsFullScreenElement() const;
- virtual void setContainsFullScreenElement(bool);
- virtual void setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(bool);
+ bool containsFullScreenElement() const;
+ void setContainsFullScreenElement(bool);
+ void setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(bool);
// W3C API
void webkitRequestFullscreen();