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

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

Issue 2390773004: reflow comments in core/svg/ (Closed)
Patch Set: comments (heh!) Created 4 years, 2 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) 2014 Samsung Electronics. All rights reserved. 2 * Copyright (C) 2014 Samsung Electronics. 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 24 matching lines...) Expand all
35 namespace blink { 35 namespace blink {
36 36
37 inline SVGDiscardElement::SVGDiscardElement(Document& document) 37 inline SVGDiscardElement::SVGDiscardElement(Document& document)
38 : SVGSMILElement(SVGNames::discardTag, document) { 38 : SVGSMILElement(SVGNames::discardTag, document) {
39 ASSERT(RuntimeEnabledFeatures::smilEnabled()); 39 ASSERT(RuntimeEnabledFeatures::smilEnabled());
40 } 40 }
41 41
42 DEFINE_NODE_FACTORY(SVGDiscardElement) 42 DEFINE_NODE_FACTORY(SVGDiscardElement)
43 43
44 bool SVGDiscardElement::hasValidAttributeType() { 44 bool SVGDiscardElement::hasValidAttributeType() {
45 // Even if there is no targetElement, discard is still a valid animation as it has to delete itself. 45 // Even if there is no targetElement, discard is still a valid animation as it
46 // has to delete itself.
46 return true; 47 return true;
47 } 48 }
48 49
49 bool SVGDiscardElement::hasValidAttributeName() { 50 bool SVGDiscardElement::hasValidAttributeName() {
50 // discard does not use attributeName so it is always valid. 51 // discard does not use attributeName so it is always valid.
51 return true; 52 return true;
52 } 53 }
53 54
54 } // namespace blink 55 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698