Log Message
Added missing override specifiers under Source/WebCore. https://bugs.webkit.org/show_bug.cgi?id=155021
Patch by Konstantin Tokarev <[email protected]> on 2016-03-04 Reviewed by Michael Catanzaro. No new tests needed. * bridge/NP_jsobject.cpp: * css/CSSStyleSheet.cpp: * dom/MutationObserver.cpp: * editing/DictationCommand.cpp: * editing/EditingStyle.cpp: * loader/EmptyClients.cpp: * loader/SinkDocument.cpp: * page/DOMWindow.cpp: * page/animation/CSSPropertyAnimation.cpp: * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp: Also added #if(SOUP) guard to ResourceHandleStreamingClient::getOrCreateReadBuffer because it is not an overridden method otherwise. * platform/text/LineEnding.cpp: * xml/parser/XMLDocumentParserLibxml2.cpp:
Modified Paths
- trunk/Source/WebCore/ChangeLog
- trunk/Source/WebCore/bridge/NP_jsobject.cpp
- trunk/Source/WebCore/css/CSSStyleSheet.cpp
- trunk/Source/WebCore/dom/MutationObserver.cpp
- trunk/Source/WebCore/editing/DictationCommand.cpp
- trunk/Source/WebCore/editing/EditingStyle.cpp
- trunk/Source/WebCore/loader/EmptyClients.cpp
- trunk/Source/WebCore/loader/SinkDocument.cpp
- trunk/Source/WebCore/page/DOMWindow.cpp
- trunk/Source/WebCore/page/animation/CSSPropertyAnimation.cpp
- trunk/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
- trunk/Source/WebCore/platform/text/LineEnding.cpp
- trunk/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp
Diff
Modified: trunk/Source/WebCore/ChangeLog (197590 => 197591)
--- trunk/Source/WebCore/ChangeLog 2016-03-04 22:18:10 UTC (rev 197590)
+++ trunk/Source/WebCore/ChangeLog 2016-03-04 23:28:22 UTC (rev 197591)
@@ -1,3 +1,28 @@
+2016-03-04 Konstantin Tokarev <[email protected]>
+
+ Added missing override specifiers under Source/WebCore.
+ https://bugs.webkit.org/show_bug.cgi?id=155021
+
+ Reviewed by Michael Catanzaro.
+
+ No new tests needed.
+
+ * bridge/NP_jsobject.cpp:
+ * css/CSSStyleSheet.cpp:
+ * dom/MutationObserver.cpp:
+ * editing/DictationCommand.cpp:
+ * editing/EditingStyle.cpp:
+ * loader/EmptyClients.cpp:
+ * loader/SinkDocument.cpp:
+ * page/DOMWindow.cpp:
+ * page/animation/CSSPropertyAnimation.cpp:
+ * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
+ Also added #if(SOUP) guard to
+ ResourceHandleStreamingClient::getOrCreateReadBuffer
+ because it is not an overridden method otherwise.
+ * platform/text/LineEnding.cpp:
+ * xml/parser/XMLDocumentParserLibxml2.cpp:
+
2016-03-04 Gavin Barraclough <[email protected]>
Max out timer throttling immediately for pre-render pages
Modified: trunk/Source/WebCore/bridge/NP_jsobject.cpp (197590 => 197591)
--- trunk/Source/WebCore/bridge/NP_jsobject.cpp 2016-03-04 22:18:10 UTC (rev 197590)
+++ trunk/Source/WebCore/bridge/NP_jsobject.cpp 2016-03-04 23:28:22 UTC (rev 197591)
@@ -88,7 +88,7 @@
private:
struct RootObjectInvalidationCallback : public RootObject::InvalidationCallback {
- virtual void operator()(RootObject*);
+ void operator()(RootObject*) override;
};
RootObjectInvalidationCallback m_invalidationCallback;
Modified: trunk/Source/WebCore/css/CSSStyleSheet.cpp (197590 => 197591)
--- trunk/Source/WebCore/css/CSSStyleSheet.cpp 2016-03-04 22:18:10 UTC (rev 197590)
+++ trunk/Source/WebCore/css/CSSStyleSheet.cpp 2016-03-04 23:28:22 UTC (rev 197591)
@@ -52,14 +52,14 @@
StyleSheetCSSRuleList(CSSStyleSheet* sheet) : m_styleSheet(sheet) { }
private:
- virtual void ref() { m_styleSheet->ref(); }
- virtual void deref() { m_styleSheet->deref(); }
-
- virtual unsigned length() const { return m_styleSheet->length(); }
- virtual CSSRule* item(unsigned index) const { return m_styleSheet->item(index); }
-
- virtual CSSStyleSheet* styleSheet() const { return m_styleSheet; }
+ void ref() override { m_styleSheet->ref(); }
+ void deref() override { m_styleSheet->deref(); }
+ unsigned length() const override { return m_styleSheet->length(); }
+ CSSRule* item(unsigned index) const override { return m_styleSheet->item(index); }
+
+ CSSStyleSheet* styleSheet() const override { return m_styleSheet; }
+
CSSStyleSheet* m_styleSheet;
};
Modified: trunk/Source/WebCore/dom/MutationObserver.cpp (197590 => 197591)
--- trunk/Source/WebCore/dom/MutationObserver.cpp 2016-03-04 22:18:10 UTC (rev 197590)
+++ trunk/Source/WebCore/dom/MutationObserver.cpp 2016-03-04 23:28:22 UTC (rev 197591)
@@ -167,8 +167,8 @@
{
}
-private:
- virtual Result run()
+private:
+ Result run() override
{
mutationObserverCompoundMicrotaskQueuedFlag = false;
Modified: trunk/Source/WebCore/editing/DictationCommand.cpp (197590 => 197591)
--- trunk/Source/WebCore/editing/DictationCommand.cpp 2016-03-04 22:18:10 UTC (rev 197590)
+++ trunk/Source/WebCore/editing/DictationCommand.cpp 2016-03-04 23:28:22 UTC (rev 197591)
@@ -60,7 +60,7 @@
return adoptRef(*new DictationMarkerSupplier(alternatives));
}
- virtual void addMarkersToTextNode(Text* textNode, unsigned offsetOfInsertion, const String& textToBeInserted)
+ void addMarkersToTextNode(Text* textNode, unsigned offsetOfInsertion, const String& textToBeInserted) override
{
DocumentMarkerController& markerController = textNode->document().markers();
for (auto& alternative : m_alternatives) {
Modified: trunk/Source/WebCore/editing/EditingStyle.cpp (197590 => 197591)
--- trunk/Source/WebCore/editing/EditingStyle.cpp 2016-03-04 22:18:10 UTC (rev 197590)
+++ trunk/Source/WebCore/editing/EditingStyle.cpp 2016-03-04 23:28:22 UTC (rev 197591)
@@ -251,10 +251,10 @@
HTMLAttributeEquivalent(CSSPropertyID, const QualifiedName& tagName, const QualifiedName& attrName);
HTMLAttributeEquivalent(CSSPropertyID, const QualifiedName& attrName);
- bool matches(const Element& element) const { return HTMLElementEquivalent::matches(element) && element.hasAttribute(m_attrName); }
- virtual bool hasAttribute() const { return true; }
- virtual bool valueIsPresentInStyle(Element&, const EditingStyle&) const;
- virtual void addToStyle(Element*, EditingStyle*) const;
+ bool matches(const Element& element) const override { return HTMLElementEquivalent::matches(element) && element.hasAttribute(m_attrName); }
+ bool hasAttribute() const override { return true; }
+ bool valueIsPresentInStyle(Element&, const EditingStyle&) const override;
+ void addToStyle(Element*, EditingStyle*) const override;
virtual PassRefPtr<CSSValue> attributeValueAsCSSValue(Element*) const;
inline const QualifiedName& attributeName() const { return m_attrName; }
@@ -305,7 +305,7 @@
public:
HTMLFontSizeEquivalent();
- virtual PassRefPtr<CSSValue> attributeValueAsCSSValue(Element*) const;
+ PassRefPtr<CSSValue> attributeValueAsCSSValue(Element*) const override;
};
HTMLFontSizeEquivalent::HTMLFontSizeEquivalent()
Modified: trunk/Source/WebCore/loader/EmptyClients.cpp (197590 => 197591)
--- trunk/Source/WebCore/loader/EmptyClients.cpp 2016-03-04 22:18:10 UTC (rev 197590)
+++ trunk/Source/WebCore/loader/EmptyClients.cpp 2016-03-04 23:28:22 UTC (rev 197591)
@@ -141,18 +141,18 @@
class EmptyPopupMenu : public PopupMenu {
public:
- virtual void show(const IntRect&, FrameView*, int) { }
- virtual void hide() { }
- virtual void updateFromElement() { }
- virtual void disconnectClient() { }
+ void show(const IntRect&, FrameView*, int) override { }
+ void hide() override { }
+ void updateFromElement() override { }
+ void disconnectClient() override { }
};
class EmptySearchPopupMenu : public SearchPopupMenu {
public:
- virtual PopupMenu* popupMenu() { return m_popup.get(); }
- virtual void saveRecentSearches(const AtomicString&, const Vector<RecentSearch>&) { }
- virtual void loadRecentSearches(const AtomicString&, Vector<RecentSearch>&) { }
- virtual bool enabled() { return false; }
+ PopupMenu* popupMenu() override { return m_popup.get(); }
+ void saveRecentSearches(const AtomicString&, const Vector<RecentSearch>&) override { }
+ void loadRecentSearches(const AtomicString&, Vector<RecentSearch>&) override { }
+ bool enabled() override { return false; }
private:
RefPtr<EmptyPopupMenu> m_popup;
Modified: trunk/Source/WebCore/loader/SinkDocument.cpp (197590 => 197591)
--- trunk/Source/WebCore/loader/SinkDocument.cpp 2016-03-04 22:18:10 UTC (rev 197590)
+++ trunk/Source/WebCore/loader/SinkDocument.cpp 2016-03-04 23:28:22 UTC (rev 197591)
@@ -44,7 +44,7 @@
}
// Ignore all data.
- virtual void appendBytes(DocumentWriter&, const char*, size_t)
+ void appendBytes(DocumentWriter&, const char*, size_t) override
{
}
};
Modified: trunk/Source/WebCore/page/DOMWindow.cpp (197590 => 197591)
--- trunk/Source/WebCore/page/DOMWindow.cpp 2016-03-04 22:18:10 UTC (rev 197590)
+++ trunk/Source/WebCore/page/DOMWindow.cpp 2016-03-04 23:28:22 UTC (rev 197591)
@@ -165,7 +165,7 @@
ScriptCallStack* stackTrace() const { return m_stackTrace.get(); }
private:
- virtual void fired()
+ void fired() override
{
// This object gets deleted when std::unique_ptr falls out of scope..
std::unique_ptr<PostMessageTimer> timer(this);
Modified: trunk/Source/WebCore/page/animation/CSSPropertyAnimation.cpp (197590 => 197591)
--- trunk/Source/WebCore/page/animation/CSSPropertyAnimation.cpp 2016-03-04 22:18:10 UTC (rev 197590)
+++ trunk/Source/WebCore/page/animation/CSSPropertyAnimation.cpp 2016-03-04 23:28:22 UTC (rev 197591)
@@ -401,7 +401,7 @@
{
}
- virtual bool equals(const RenderStyle* a, const RenderStyle* b) const
+ bool equals(const RenderStyle* a, const RenderStyle* b) const override
{
if (a == b)
return true;
@@ -479,7 +479,7 @@
{
}
- virtual bool equals(const RenderStyle* a, const RenderStyle* b) const
+ bool equals(const RenderStyle* a, const RenderStyle* b) const override
{
// If the style pointers are the same, don't bother doing the test.
// If either is null, return false. If both are null, return true.
@@ -507,7 +507,7 @@
{
}
- virtual bool equals(const RenderStyle* a, const RenderStyle* b) const
+ bool equals(const RenderStyle* a, const RenderStyle* b) const override
{
// If the style pointers are the same, don't bother doing the test.
// If either is null, return false. If both are null, return true.
@@ -535,7 +535,7 @@
{
}
- virtual bool equals(const RenderStyle* a, const RenderStyle* b) const
+ bool equals(const RenderStyle* a, const RenderStyle* b) const override
{
if (a == b)
return true;
@@ -557,7 +557,7 @@
{
}
- virtual void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const
+ void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const override
{
(dst->*m_setter)(blendFunc(anim, (a->*PropertyWrapperGetter<Color>::m_getter)(), (b->*PropertyWrapperGetter<Color>::m_getter)(), progress));
}
@@ -575,9 +575,9 @@
{
}
- virtual bool animationIsAccelerated() const { return true; }
+ bool animationIsAccelerated() const override { return true; }
- virtual void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const
+ void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const override
{
float fromOpacity = a->opacity();
@@ -594,9 +594,9 @@
{
}
- virtual bool animationIsAccelerated() const { return true; }
+ bool animationIsAccelerated() const override { return true; }
- virtual void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const
+ void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const override
{
dst->setTransform(blendFunc(anim, a->transform(), b->transform(), progress));
}
@@ -610,9 +610,9 @@
{
}
- virtual bool animationIsAccelerated() const { return true; }
+ bool animationIsAccelerated() const override { return true; }
- virtual void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const
+ void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const override
{
dst->setFilter(blendFunc(anim, a->filter(), b->filter(), progress));
}
@@ -670,7 +670,7 @@
{
}
- virtual bool equals(const RenderStyle* a, const RenderStyle* b) const
+ bool equals(const RenderStyle* a, const RenderStyle* b) const override
{
if (a == b)
return true;
@@ -699,7 +699,7 @@
return true;
}
- virtual void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const
+ void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const override
{
const ShadowData* shadowA = (a->*m_getter)();
const ShadowData* shadowB = (b->*m_getter)();
@@ -791,7 +791,7 @@
{
}
- virtual bool equals(const RenderStyle* a, const RenderStyle* b) const
+ bool equals(const RenderStyle* a, const RenderStyle* b) const override
{
if (a == b)
return true;
@@ -812,7 +812,7 @@
return fromColor == toColor;
}
- virtual void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const
+ void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const override
{
Color fromColor = (a->*m_getter)();
Color toColor = (b->*m_getter)();
@@ -851,11 +851,11 @@
, m_visitedWrapper(std::make_unique<PropertyWrapperMaybeInvalidColor>(prop, visitedGetter, visitedSetter))
{
}
- virtual bool equals(const RenderStyle* a, const RenderStyle* b) const
+ bool equals(const RenderStyle* a, const RenderStyle* b) const override
{
return m_wrapper->equals(a, b) && m_visitedWrapper->equals(a, b);
}
- virtual void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const
+ void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const override
{
m_wrapper->blend(anim, dst, a, b, progress);
m_visitedWrapper->blend(anim, dst, a, b, progress);
@@ -890,7 +890,7 @@
{
}
- virtual bool equals(const FillLayer* a, const FillLayer* b) const
+ bool equals(const FillLayer* a, const FillLayer* b) const override
{
if (a == b)
return true;
@@ -949,7 +949,7 @@
{
}
- virtual bool equals(const FillLayer* a, const FillLayer* b) const
+ bool equals(const FillLayer* a, const FillLayer* b) const override
{
if (a == b)
return true;
@@ -995,7 +995,7 @@
}
}
- virtual bool equals(const RenderStyle* a, const RenderStyle* b) const
+ bool equals(const RenderStyle* a, const RenderStyle* b) const override
{
if (a == b)
return true;
@@ -1016,7 +1016,7 @@
return true;
}
- virtual void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const
+ void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const override
{
const FillLayer* aLayer = (a->*m_layersGetter)();
const FillLayer* bLayer = (b->*m_layersGetter)();
@@ -1046,9 +1046,9 @@
{
}
- virtual bool isShorthandWrapper() const { return true; }
+ bool isShorthandWrapper() const override { return true; }
- virtual bool equals(const RenderStyle* a, const RenderStyle* b) const
+ bool equals(const RenderStyle* a, const RenderStyle* b) const override
{
if (a == b)
return true;
@@ -1062,7 +1062,7 @@
return true;
}
- virtual void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const
+ void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const override
{
for (auto& wrapper : m_propertyWrappers)
wrapper->blend(anim, dst, a, b, progress);
@@ -1082,7 +1082,7 @@
{
}
- virtual bool equals(const RenderStyle* a, const RenderStyle* b) const
+ bool equals(const RenderStyle* a, const RenderStyle* b) const override
{
if (a == b)
return true;
@@ -1092,7 +1092,7 @@
return a->flexBasis() == b->flexBasis() && a->flexGrow() == b->flexGrow() && a->flexShrink() == b->flexShrink();
}
- virtual void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const
+ void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const override
{
dst->setFlexBasis(blendFunc(anim, a->flexBasis(), b->flexBasis(), progress));
dst->setFlexGrow(blendFunc(anim, a->flexGrow(), b->flexGrow(), progress));
@@ -1111,7 +1111,7 @@
{
}
- virtual bool equals(const RenderStyle* a, const RenderStyle* b) const
+ bool equals(const RenderStyle* a, const RenderStyle* b) const override
{
if (a == b)
return true;
@@ -1141,7 +1141,7 @@
return true;
}
- virtual void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const
+ void blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const override
{
if ((a->*m_paintTypeGetter)() != SVGPaint::SVG_PAINTTYPE_RGBCOLOR
|| (b->*m_paintTypeGetter)() != SVGPaint::SVG_PAINTTYPE_RGBCOLOR)
Modified: trunk/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp (197590 => 197591)
--- trunk/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp 2016-03-04 22:18:10 UTC (rev 197590)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp 2016-03-04 23:28:22 UTC (rev 197591)
@@ -92,15 +92,17 @@
private:
// ResourceHandleClient virtual methods.
- virtual char* getOrCreateReadBuffer(size_t requestedSize, size_t& actualSize);
- virtual void willSendRequest(ResourceHandle*, ResourceRequest&, const ResourceResponse&);
- virtual void didReceiveResponse(ResourceHandle*, const ResourceResponse&);
- virtual void didReceiveData(ResourceHandle*, const char*, unsigned, int);
- virtual void didReceiveBuffer(ResourceHandle*, PassRefPtr<SharedBuffer>, int encodedLength);
- virtual void didFinishLoading(ResourceHandle*, double /*finishTime*/);
- virtual void didFail(ResourceHandle*, const ResourceError&);
- virtual void wasBlocked(ResourceHandle*);
- virtual void cannotShowURL(ResourceHandle*);
+#if USE(SOUP)
+ char* getOrCreateReadBuffer(size_t requestedSize, size_t& actualSize) override;
+#endif
+ void willSendRequest(ResourceHandle*, ResourceRequest&, const ResourceResponse&) override;
+ void didReceiveResponse(ResourceHandle*, const ResourceResponse&) override;
+ void didReceiveData(ResourceHandle*, const char*, unsigned, int) override;
+ void didReceiveBuffer(ResourceHandle*, PassRefPtr<SharedBuffer>, int encodedLength) override;
+ void didFinishLoading(ResourceHandle*, double /*finishTime*/) override;
+ void didFail(ResourceHandle*, const ResourceError&) override;
+ void wasBlocked(ResourceHandle*) override;
+ void cannotShowURL(ResourceHandle*) override;
RefPtr<ResourceHandle> m_resource;
};
Modified: trunk/Source/WebCore/platform/text/LineEnding.cpp (197590 => 197591)
--- trunk/Source/WebCore/platform/text/LineEnding.cpp 2016-03-04 22:18:10 UTC (rev 197590)
+++ trunk/Source/WebCore/platform/text/LineEnding.cpp 2016-03-04 23:28:22 UTC (rev 197591)
@@ -52,14 +52,14 @@
}
virtual ~CStringBuffer() { }
- virtual char* allocate(size_t size)
+ char* allocate(size_t size) override
{
char* ptr;
m_buffer = CString::newUninitialized(size, ptr);
return ptr;
}
- virtual void copy(const CString& source)
+ void copy(const CString& source) override
{
m_buffer = source;
}
@@ -78,14 +78,14 @@
}
virtual ~VectorCharAppendBuffer() { }
- virtual char* allocate(size_t size)
+ char* allocate(size_t size) override
{
size_t oldSize = m_buffer.size();
m_buffer.grow(oldSize + size);
return m_buffer.data() + oldSize;
}
- virtual void copy(const CString& source)
+ void copy(const CString& source) override
{
m_buffer.append(source.data(), source.length());
}
Modified: trunk/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp (197590 => 197591)
--- trunk/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp 2016-03-04 22:18:10 UTC (rev 197590)
+++ trunk/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp 2016-03-04 23:28:22 UTC (rev 197591)
@@ -227,7 +227,7 @@
xmlFree(attributes);
}
- virtual void call(XMLDocumentParser* parser)
+ void call(XMLDocumentParser* parser) override
{
parser->startElementNs(xmlLocalName, xmlPrefix, xmlURI,
nb_namespaces, const_cast<const xmlChar**>(namespaces),
@@ -245,7 +245,7 @@
};
struct PendingEndElementNSCallback : public PendingCallback {
- virtual void call(XMLDocumentParser* parser)
+ void call(XMLDocumentParser* parser) override
{
parser->endElementNs();
}
@@ -257,7 +257,7 @@
xmlFree(s);
}
- virtual void call(XMLDocumentParser* parser)
+ void call(XMLDocumentParser* parser) override
{
parser->characters(s, len);
}
@@ -273,7 +273,7 @@
xmlFree(data);
}
- virtual void call(XMLDocumentParser* parser)
+ void call(XMLDocumentParser* parser) override
{
parser->processingInstruction(target, data);
}
@@ -288,7 +288,7 @@
xmlFree(s);
}
- virtual void call(XMLDocumentParser* parser)
+ void call(XMLDocumentParser* parser) override
{
parser->cdataBlock(s, len);
}
@@ -303,7 +303,7 @@
xmlFree(s);
}
- virtual void call(XMLDocumentParser* parser)
+ void call(XMLDocumentParser* parser) override
{
parser->comment(s);
}
@@ -319,7 +319,7 @@
xmlFree(systemID);
}
- virtual void call(XMLDocumentParser* parser)
+ void call(XMLDocumentParser* parser) override
{
parser->internalSubset(name, externalID, systemID);
}
@@ -335,7 +335,7 @@
xmlFree(message);
}
- virtual void call(XMLDocumentParser* parser)
+ void call(XMLDocumentParser* parser) override
{
parser->handleError(type, reinterpret_cast<char*>(message), TextPosition(lineNumber, columnNumber));
}
_______________________________________________ webkit-changes mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-changes
