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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.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 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 animationElement->animateAdditiveNumber( 124 animationElement->animateAdditiveNumber(
125 percentage, repeatCount, fromInteger->secondInteger()->value(), 125 percentage, repeatCount, fromInteger->secondInteger()->value(),
126 toInteger->secondInteger()->value(), 126 toInteger->secondInteger()->value(),
127 toAtEndOfDurationInteger->secondInteger()->value(), y); 127 toAtEndOfDurationInteger->secondInteger()->value(), y);
128 m_firstInteger->setValue(static_cast<int>(roundf(x))); 128 m_firstInteger->setValue(static_cast<int>(roundf(x)));
129 m_secondInteger->setValue(static_cast<int>(roundf(y))); 129 m_secondInteger->setValue(static_cast<int>(roundf(y)));
130 } 130 }
131 131
132 float SVGIntegerOptionalInteger::calculateDistance(SVGPropertyBase* other, 132 float SVGIntegerOptionalInteger::calculateDistance(SVGPropertyBase* other,
133 SVGElement*) { 133 SVGElement*) {
134 // FIXME: Distance calculation is not possible for SVGIntegerOptionalInteger r ight now. We need the distance for every single value. 134 // FIXME: Distance calculation is not possible for SVGIntegerOptionalInteger
135 // right now. We need the distance for every single value.
135 return -1; 136 return -1;
136 } 137 }
137 138
138 } // namespace blink 139 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGImageElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGLength.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698