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

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

Issue 22831019: Deprecate FileError in FileAPI (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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
« Source/core/fileapi/FileError.idl ('K') | « Source/core/page/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/page/UseCounter.cpp
diff --git a/Source/core/page/UseCounter.cpp b/Source/core/page/UseCounter.cpp
index 8d10626ffdb07eb3fb96f822844f4b2c4f3ccab0..7256ae1dc47d9cce067b94301448ce89e1b2eb26 100644
--- a/Source/core/page/UseCounter.cpp
+++ b/Source/core/page/UseCounter.cpp
@@ -661,6 +661,9 @@ String UseCounter::deprecationMessage(Feature feature)
case ConsoleMarkTimeline:
return "console.markTimeline is deprecated. Please use the console.timeStamp instead.";
+ case FileError:
+ return "FileError is deprecated. Refer 'name' or 'message' attribute of DOMError instead of 'code'.";
Mike West 2013/08/21 12:44:00 Nit: "Please use the 'name' or 'message' attribute
kinuko 2013/08/21 16:27:45 Done.
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();
« Source/core/fileapi/FileError.idl ('K') | « Source/core/page/UseCounter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698