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

Side by Side Diff: third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp

Issue 1835773002: Rename AtomicString::string() to AtomicString::getString(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Windows Created 4 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple 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 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 sortTimeList(timeList); 519 sortTimeList(timeList);
520 } 520 }
521 521
522 void SVGSMILElement::parseAttribute(const QualifiedName& name, const AtomicStrin g& oldValue, const AtomicString& value) 522 void SVGSMILElement::parseAttribute(const QualifiedName& name, const AtomicStrin g& oldValue, const AtomicString& value)
523 { 523 {
524 if (name == SVGNames::beginAttr) { 524 if (name == SVGNames::beginAttr) {
525 if (!m_conditions.isEmpty()) { 525 if (!m_conditions.isEmpty()) {
526 clearConditions(); 526 clearConditions();
527 parseBeginOrEnd(fastGetAttribute(SVGNames::endAttr), End); 527 parseBeginOrEnd(fastGetAttribute(SVGNames::endAttr), End);
528 } 528 }
529 parseBeginOrEnd(value.string(), Begin); 529 parseBeginOrEnd(value.getString(), Begin);
530 if (inDocument()) 530 if (inDocument())
531 connectSyncBaseConditions(); 531 connectSyncBaseConditions();
532 } else if (name == SVGNames::endAttr) { 532 } else if (name == SVGNames::endAttr) {
533 if (!m_conditions.isEmpty()) { 533 if (!m_conditions.isEmpty()) {
534 clearConditions(); 534 clearConditions();
535 parseBeginOrEnd(fastGetAttribute(SVGNames::beginAttr), Begin); 535 parseBeginOrEnd(fastGetAttribute(SVGNames::beginAttr), Begin);
536 } 536 }
537 parseBeginOrEnd(value.string(), End); 537 parseBeginOrEnd(value.getString(), End);
538 if (inDocument()) 538 if (inDocument())
539 connectSyncBaseConditions(); 539 connectSyncBaseConditions();
540 } else if (name == SVGNames::onbeginAttr) { 540 } else if (name == SVGNames::onbeginAttr) {
541 setAttributeEventListener(EventTypeNames::beginEvent, createAttributeEve ntListener(this, name, value, eventParameterName())); 541 setAttributeEventListener(EventTypeNames::beginEvent, createAttributeEve ntListener(this, name, value, eventParameterName()));
542 } else if (name == SVGNames::onendAttr) { 542 } else if (name == SVGNames::onendAttr) {
543 setAttributeEventListener(EventTypeNames::endEvent, createAttributeEvent Listener(this, name, value, eventParameterName())); 543 setAttributeEventListener(EventTypeNames::endEvent, createAttributeEvent Listener(this, name, value, eventParameterName()));
544 } else if (name == SVGNames::onrepeatAttr) { 544 } else if (name == SVGNames::onrepeatAttr) {
545 setAttributeEventListener(EventTypeNames::repeatEvent, createAttributeEv entListener(this, name, value, eventParameterName())); 545 setAttributeEventListener(EventTypeNames::repeatEvent, createAttributeEv entListener(this, name, value, eventParameterName()));
546 } else { 546 } else {
547 SVGElement::parseAttribute(name, oldValue, value); 547 SVGElement::parseAttribute(name, oldValue, value);
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
1368 visitor->trace(m_targetElement); 1368 visitor->trace(m_targetElement);
1369 visitor->trace(m_timeContainer); 1369 visitor->trace(m_timeContainer);
1370 visitor->trace(m_conditions); 1370 visitor->trace(m_conditions);
1371 visitor->trace(m_syncBaseDependents); 1371 visitor->trace(m_syncBaseDependents);
1372 #endif 1372 #endif
1373 SVGElement::trace(visitor); 1373 SVGElement::trace(visitor);
1374 SVGTests::trace(visitor); 1374 SVGTests::trace(visitor);
1375 } 1375 }
1376 1376
1377 } // namespace blink 1377 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGTests.cpp ('k') | third_party/WebKit/Source/core/timing/PerformanceBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698