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

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

Issue 819093002: Deprecate Range.compareNode() and Range.expand() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update expectations Created 6 years 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/dom/Range.idl ('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 ba97a0f6254627e32ccfd9e928d199da6b12b67c..5217c96a0e2169e43d983e891d91f7e7ee145c6c 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -828,6 +828,12 @@ String UseCounter::deprecationMessage(Feature feature)
case PrefixedOfflineAudioContext:
return replacedBy("webkitOfflineAudioContext", "OfflineAudioContext");
+ case RangeCompareNode:
+ return replacedBy("Range.compareNode()", "Range.compareBoundaryPoints()");
+
+ case RangeExpand:
+ return replacedBy("Range.expand()", "Selection.modify()");
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();
« no previous file with comments | « Source/core/dom/Range.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698