| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2006, 2007, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2006, 2007, 2012 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 return; | 323 return; |
| 324 } | 324 } |
| 325 PrefixNamespaceURIMap::AddResult result = m_namespaces.insert(prefix, uri); | 325 PrefixNamespaceURIMap::AddResult result = m_namespaces.insert(prefix, uri); |
| 326 if (result.isNewEntry) | 326 if (result.isNewEntry) |
| 327 return; | 327 return; |
| 328 result.storedValue->value = uri; | 328 result.storedValue->value = uri; |
| 329 } | 329 } |
| 330 | 330 |
| 331 const AtomicString& StyleSheetContents::namespaceURIFromPrefix( | 331 const AtomicString& StyleSheetContents::namespaceURIFromPrefix( |
| 332 const AtomicString& prefix) { | 332 const AtomicString& prefix) { |
| 333 return m_namespaces.get(prefix); | 333 return m_namespaces.at(prefix); |
| 334 } | 334 } |
| 335 | 335 |
| 336 void StyleSheetContents::parseAuthorStyleSheet( | 336 void StyleSheetContents::parseAuthorStyleSheet( |
| 337 const CSSStyleSheetResource* cachedStyleSheet, | 337 const CSSStyleSheetResource* cachedStyleSheet, |
| 338 const SecurityOrigin* securityOrigin) { | 338 const SecurityOrigin* securityOrigin) { |
| 339 TRACE_EVENT1("blink,devtools.timeline", "ParseAuthorStyleSheet", "data", | 339 TRACE_EVENT1("blink,devtools.timeline", "ParseAuthorStyleSheet", "data", |
| 340 InspectorParseAuthorStyleSheetEvent::data(cachedStyleSheet)); | 340 InspectorParseAuthorStyleSheetEvent::data(cachedStyleSheet)); |
| 341 double startTime = monotonicallyIncreasingTime(); | 341 double startTime = monotonicallyIncreasingTime(); |
| 342 | 342 |
| 343 bool isSameOriginRequest = | 343 bool isSameOriginRequest = |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 visitor->trace(m_namespaceRules); | 702 visitor->trace(m_namespaceRules); |
| 703 visitor->trace(m_childRules); | 703 visitor->trace(m_childRules); |
| 704 visitor->trace(m_loadingClients); | 704 visitor->trace(m_loadingClients); |
| 705 visitor->trace(m_completedClients); | 705 visitor->trace(m_completedClients); |
| 706 visitor->trace(m_ruleSet); | 706 visitor->trace(m_ruleSet); |
| 707 visitor->trace(m_referencedFromResource); | 707 visitor->trace(m_referencedFromResource); |
| 708 visitor->trace(m_parserContext); | 708 visitor->trace(m_parserContext); |
| 709 } | 709 } |
| 710 | 710 |
| 711 } // namespace blink | 711 } // namespace blink |
| OLD | NEW |