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

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

Issue 2501743003: Indexed DB: Remove 'webkit'-prefixed global aliases (Closed)
Patch Set: #if 0 as the least bad option? Created 4 years, 1 month 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: 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 5d5777d72ec5111030bcbbaee001689f8e008265..d61c8cbc0e6bb9fa46a33e76c6dda24879ed6290 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -54,6 +54,8 @@ String willBeRemoved(const char* feature,
feature, milestoneString(milestone), details);
}
+#if 0
foolip 2016/11/21 20:35:38 Yeah, I guess this works. I have deleted one of th
+// TODO(jsbell): Currently unused, but likely to be needed in the future.
String replacedWillBeRemoved(const char* feature,
const char* replacement,
Milestone milestone,
@@ -63,6 +65,7 @@ String replacedWillBeRemoved(const char* feature,
"https://www.chromestatus.com/features/%s for more details.",
feature, milestoneString(milestone), replacement, details);
}
+#endif
} // anonymous namespace
@@ -237,42 +240,6 @@ String Deprecation::deprecationMessage(UseCounter::Feature feature) {
return replacedBy("'HTMLVideoElement.webkitExitFullScreen()'",
"'Document.exitFullscreen()'");
- case UseCounter::PrefixedIndexedDB:
- return replacedWillBeRemoved("'webkitIndexedDB'", "'indexedDB'", M57,
- "5775330191081472");
-
- case UseCounter::PrefixedIDBCursorConstructor:
- return replacedWillBeRemoved("'webkitIDBCursor'", "'IDBCursor'", M57,
- "5775330191081472");
-
- case UseCounter::PrefixedIDBDatabaseConstructor:
- return replacedWillBeRemoved("'webkitIDBDatabase'", "'IDBDatabase'", M57,
- "5775330191081472");
-
- case UseCounter::PrefixedIDBFactoryConstructor:
- return replacedWillBeRemoved("'webkitIDBFactory'", "'IDBFactory'", M57,
- "5775330191081472");
-
- case UseCounter::PrefixedIDBIndexConstructor:
- return replacedWillBeRemoved("'webkitIDBIndex'", "'IDBIndex'", M57,
- "5775330191081472");
-
- case UseCounter::PrefixedIDBKeyRangeConstructor:
- return replacedWillBeRemoved("'webkitIDBKeyRange'", "'IDBKeyRange'", M57,
- "5775330191081472");
-
- case UseCounter::PrefixedIDBObjectStoreConstructor:
- return replacedWillBeRemoved("'webkitIDBObjectStore'", "'IDBObjectStore'",
- M57, "5775330191081472");
-
- case UseCounter::PrefixedIDBRequestConstructor:
- return replacedWillBeRemoved("'webkitIDBRequest'", "'IDBRequest'", M57,
- "5775330191081472");
-
- case UseCounter::PrefixedIDBTransactionConstructor:
- return replacedWillBeRemoved("'webkitIDBTransaction'", "'IDBTransaction'",
- M57, "5775330191081472");
-
case UseCounter::PrefixedRequestAnimationFrame:
return "'webkitRequestAnimationFrame' is vendor-specific. Please use the "
"standard 'requestAnimationFrame' instead.";

Powered by Google App Engine
This is Rietveld 408576698