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

Unified Diff: Source/core/frame/UseCounter.cpp

Issue 173023004: Remove unused UseCounter features (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months 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 | « Source/core/frame/UseCounter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/UseCounter.cpp
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp
index a768ccf6748bebe2451b59ec969b34fc981d07e0..b51203fe502d723e6d700f48844054ffd1d2f30c 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -626,10 +626,6 @@ String UseCounter::deprecationMessage(Feature feature)
case DocumentClear:
return "document.clear() is deprecated. This method doesn't do anything.";
- // Web Components
- case HTMLShadowElementOlderShadowRoot:
- return "HTMLShadowElement.olderShadowRoot is deprecated.";
-
// HTML Media Capture
case CaptureAttributeAsEnum:
return "Using the 'capture' attribute as an enum is deprecated. Please use it as a boolean and specify the media types that should be accepted in the 'accept' attribute.";
@@ -653,12 +649,6 @@ String UseCounter::deprecationMessage(Feature feature)
case EventReturnValue:
return "event.returnValue is deprecated. Please use the standard event.preventDefault() instead.";
- case ScrollTopBodyNotQuirksMode:
- return "body.scrollTop is deprecated in strict mode. Please use 'documentElement.scrollTop' if in strict mode and 'body.scrollTop' only if in quirks mode.";
-
- case ScrollLeftBodyNotQuirksMode:
- return "body.scrollLeft is deprecated in strict mode. Please use 'documentElement.scrollLeft' if in strict mode and 'body.scrollLeft' only if in quirks mode.";
-
case ShowModalDialog:
return "Chromium is considering deprecating showModalDialog. Please use window.open and postMessage instead.";
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698