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

Side by Side Diff: third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp

Issue 1444173002: third_party/WebKit: fix typos found in comments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CL Description change, Typo patch apply to upstream master. Created 5 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 for (bool& flag : cancelRunningAnimationFlags) 280 for (bool& flag : cancelRunningAnimationFlags)
281 flag = true; 281 flag = true;
282 282
283 if (animationData && style.display() != NONE) { 283 if (animationData && style.display() != NONE) {
284 const Vector<AtomicString>& nameList = animationData->nameList(); 284 const Vector<AtomicString>& nameList = animationData->nameList();
285 for (size_t i = 0; i < nameList.size(); ++i) { 285 for (size_t i = 0; i < nameList.size(); ++i) {
286 AtomicString name = nameList[i]; 286 AtomicString name = nameList[i];
287 if (name == CSSAnimationData::initialName()) 287 if (name == CSSAnimationData::initialName())
288 continue; 288 continue;
289 289
290 // Find n where this is the nth occurence of this animation name. 290 // Find n where this is the nth occurrence of this animation name.
291 size_t nameIndex = 0; 291 size_t nameIndex = 0;
292 for (size_t j = 0; j < i; j++) { 292 for (size_t j = 0; j < i; j++) {
293 if (nameList[j] == name) 293 if (nameList[j] == name)
294 nameIndex++; 294 nameIndex++;
295 } 295 }
296 296
297 const bool isPaused = CSSTimingData::getRepeated(animationData->play StateList(), i) == AnimPlayStatePaused; 297 const bool isPaused = CSSTimingData::getRepeated(animationData->play StateList(), i) == AnimPlayStatePaused;
298 298
299 Timing timing = animationData->convertToTiming(i); 299 Timing timing = animationData->convertToTiming(i);
300 Timing specifiedTiming = timing; 300 Timing specifiedTiming = timing;
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 } 838 }
839 839
840 DEFINE_TRACE(CSSAnimations) 840 DEFINE_TRACE(CSSAnimations)
841 { 841 {
842 visitor->trace(m_transitions); 842 visitor->trace(m_transitions);
843 visitor->trace(m_pendingUpdate); 843 visitor->trace(m_pendingUpdate);
844 visitor->trace(m_runningAnimations); 844 visitor->trace(m_runningAnimations);
845 } 845 }
846 846
847 } // namespace blink 847 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/npruntime.cpp ('k') | third_party/WebKit/Source/core/css/CSSSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698