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

Unified Diff: Source/core/html/HTMLDocument.idl

Issue 14670019: Add a deprecation warning for document.clear() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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
Index: Source/core/html/HTMLDocument.idl
diff --git a/Source/core/html/HTMLDocument.idl b/Source/core/html/HTMLDocument.idl
index 3f2880a487f446ed6d5defd4b228d29bad816588..6af68a42295b467349b78ebc0607e0b071e2b7b7 100644
--- a/Source/core/html/HTMLDocument.idl
+++ b/Source/core/html/HTMLDocument.idl
@@ -35,7 +35,7 @@
[Replaceable] readonly attribute HTMLAllCollection all;
- void clear();
+ [DeprecateAs=DocumentClear] void clear();
readonly attribute long width;
readonly attribute long height;

Powered by Google App Engine
This is Rietveld 408576698