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

Unified Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 2702603004: Merge "Selection API: Show a deprecation message for a quirky addRange() behavior." to M57 branch (Closed)
Patch Set: Created 3 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 | « third_party/WebKit/Source/core/editing/DOMSelection.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/Deprecation.cpp
diff --git a/third_party/WebKit/Source/core/frame/Deprecation.cpp b/third_party/WebKit/Source/core/frame/Deprecation.cpp
index e24986b6541c09b22889eaf10cd6546a016d2301..85a06f66c4fa2848a49ca3112530b0a66fdaf5de 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -434,6 +434,12 @@ String Deprecation::deprecationMessage(UseCounter::Feature feature) {
return willBeRemoved("FileReaderSync in service workers", M59,
"5739144722513920");
+ case UseCounter::SelectionAddRangeIntersect:
+ return willBeRemoved(
+ "The behavior that Selection.addRange() merges existing Range and "
+ "the specified Range",
+ M58, "6680566019653632");
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();
« no previous file with comments | « third_party/WebKit/Source/core/editing/DOMSelection.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698