| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright (C) 2012 Google, Inc. All rights reserved. | 3 * Copyright (C) 2012 Google, Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 | 150 |
| 151 case ConsoleMarkTimeline: | 151 case ConsoleMarkTimeline: |
| 152 return "console.markTimeline is deprecated. Please use the console.timeS
tamp instead."; | 152 return "console.markTimeline is deprecated. Please use the console.timeS
tamp instead."; |
| 153 | 153 |
| 154 case FileError: | 154 case FileError: |
| 155 return "FileError is deprecated. Please use the 'name' or 'message' attr
ibutes of DOMError rather than 'code'."; | 155 return "FileError is deprecated. Please use the 'name' or 'message' attr
ibutes of DOMError rather than 'code'."; |
| 156 | 156 |
| 157 case CSSStyleSheetInsertRuleOptionalArg: | 157 case CSSStyleSheetInsertRuleOptionalArg: |
| 158 return "Calling CSSStyleSheet.insertRule() with one argument is deprecat
ed. Please pass the index argument as well: insertRule(x, 0)."; | 158 return "Calling CSSStyleSheet.insertRule() with one argument is deprecat
ed. Please pass the index argument as well: insertRule(x, 0)."; |
| 159 | 159 |
| 160 case MediaErrorEncrypted: | |
| 161 return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code
is never used."; | |
| 162 | |
| 163 case PrefixedIndexedDB: | 160 case PrefixedIndexedDB: |
| 164 return replacedBy("webkitIndexedDB", "indexedDB"); | 161 return replacedBy("webkitIndexedDB", "indexedDB"); |
| 165 | 162 |
| 166 case PrefixedIDBCursorConstructor: | 163 case PrefixedIDBCursorConstructor: |
| 167 return replacedBy("webkitIDBCursor", "IDBCursor"); | 164 return replacedBy("webkitIDBCursor", "IDBCursor"); |
| 168 | 165 |
| 169 case PrefixedIDBDatabaseConstructor: | 166 case PrefixedIDBDatabaseConstructor: |
| 170 return replacedBy("webkitIDBDatabase", "IDBDatabase"); | 167 return replacedBy("webkitIDBDatabase", "IDBDatabase"); |
| 171 | 168 |
| 172 case PrefixedIDBFactoryConstructor: | 169 case PrefixedIDBFactoryConstructor: |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 261 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 265 { | 262 { |
| 266 // FIXME: We may want to handle stylesheets that have multiple owners | 263 // FIXME: We may want to handle stylesheets that have multiple owners |
| 267 // http://crbug.com/242125 | 264 // http://crbug.com/242125 |
| 268 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 265 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 269 return getFrom(sheetContents->singleOwnerDocument()); | 266 return getFrom(sheetContents->singleOwnerDocument()); |
| 270 return 0; | 267 return 0; |
| 271 } | 268 } |
| 272 | 269 |
| 273 } // namespace blink | 270 } // namespace blink |
| OLD | NEW |