Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(689)

Unified Diff: Source/core/dom/DOMImplementation.cpp

Issue 693353002: Deprecate DOMImplementation.hasFeature() returning false (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/svg/custom/svg-features-expected.txt ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMImplementation.cpp
diff --git a/Source/core/dom/DOMImplementation.cpp b/Source/core/dom/DOMImplementation.cpp
index bbf57f71b5db2e8cc1f16ee0ab8c4ae3b8211dc3..987f050c38a14ccb3debbdd1b6583ecc2b2a9ccd 100644
--- a/Source/core/dom/DOMImplementation.cpp
+++ b/Source/core/dom/DOMImplementation.cpp
@@ -173,7 +173,7 @@ bool DOMImplementation::hasFeature(const String& feature, const String& version)
bool DOMImplementation::hasFeatureForBindings(const String& feature, const String& version)
{
if (!hasFeature(feature, version)) {
- UseCounter::count(m_document, UseCounter::DOMImplementationHasFeatureReturnFalse);
+ UseCounter::countDeprecation(m_document, UseCounter::DOMImplementationHasFeatureReturnFalse);
return false;
}
return true;
« no previous file with comments | « LayoutTests/svg/custom/svg-features-expected.txt ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698