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

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp

Issue 1571443004: Oilpan: fix build after r368275. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove use of 'auto' instead Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010, Google Inc. All rights reserved. 2 * Copyright (C) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after
967 for (size_t i = 0; animationData && i < animationData->nameList().size(); ++ i) { 967 for (size_t i = 0; animationData && i < animationData->nameList().size(); ++ i) {
968 AtomicString animationName(animationData->nameList()[i]); 968 AtomicString animationName(animationData->nameList()[i]);
969 if (animationName == CSSAnimationData::initialName()) 969 if (animationName == CSSAnimationData::initialName())
970 continue; 970 continue;
971 StyleRuleKeyframes* keyframesRule = styleResolver.findKeyframesRule(elem ent, animationName); 971 StyleRuleKeyframes* keyframesRule = styleResolver.findKeyframesRule(elem ent, animationName);
972 if (!keyframesRule) 972 if (!keyframesRule)
973 continue; 973 continue;
974 974
975 // Find CSSOM wrapper. 975 // Find CSSOM wrapper.
976 CSSKeyframesRule* cssKeyframesRule = nullptr; 976 CSSKeyframesRule* cssKeyframesRule = nullptr;
977 for (auto& styleSheet : *m_documentToCSSStyleSheets.get(ownerDocument)) { 977 for (CSSStyleSheet* styleSheet : *m_documentToCSSStyleSheets.get(ownerDo cument)) {
978 ASSERT(styleSheet->ownerNode()); 978 ASSERT(styleSheet->ownerNode());
979 RuleSet& ruleSet = styleSheet->contents()->ruleSet(); 979 RuleSet& ruleSet = styleSheet->contents()->ruleSet();
980 for (auto& rule : ruleSet.keyframesRules()) { 980 for (auto& rule : ruleSet.keyframesRules()) {
981 if (rule->name().impl() == animationName) 981 if (rule->name().impl() == animationName)
982 cssKeyframesRule = findKeyframesRule(styleSheet, keyframesRu le); 982 cssKeyframesRule = findKeyframesRule(styleSheet, keyframesRu le);
983 } 983 }
984 } 984 }
985 if (!cssKeyframesRule) 985 if (!cssKeyframesRule)
986 continue; 986 continue;
987 987
(...skipping 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after
2046 visitor->trace(m_documentToCSSStyleSheets); 2046 visitor->trace(m_documentToCSSStyleSheets);
2047 visitor->trace(m_invalidatedDocuments); 2047 visitor->trace(m_invalidatedDocuments);
2048 visitor->trace(m_nodeToInspectorStyleSheet); 2048 visitor->trace(m_nodeToInspectorStyleSheet);
2049 visitor->trace(m_documentToViaInspectorStyleSheet); 2049 visitor->trace(m_documentToViaInspectorStyleSheet);
2050 #endif 2050 #endif
2051 visitor->trace(m_inspectorUserAgentStyleSheet); 2051 visitor->trace(m_inspectorUserAgentStyleSheet);
2052 InspectorBaseAgent::trace(visitor); 2052 InspectorBaseAgent::trace(visitor);
2053 } 2053 }
2054 2054
2055 } // namespace blink 2055 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698