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

Unified Diff: Source/core/platform/Timer.cpp

Issue 20294002: Fix trailing whitespace in .cpp, .h, and .idl files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/platform/Timer.h ('k') | Source/core/platform/Widget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/Timer.cpp
diff --git a/Source/core/platform/Timer.cpp b/Source/core/platform/Timer.cpp
index 342546828eefe0060b8f309c4eb0431af21c2cf0..783e6d3de0aa34123b42cd25ced7beeba9d81903 100644
--- a/Source/core/platform/Timer.cpp
+++ b/Source/core/platform/Timer.cpp
@@ -21,7 +21,7 @@
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
@@ -139,10 +139,10 @@ private:
friend bool operator>(TimerHeapIterator, TimerHeapIterator);
friend bool operator<=(TimerHeapIterator, TimerHeapIterator);
friend bool operator>=(TimerHeapIterator, TimerHeapIterator);
-
+
friend TimerHeapIterator operator+(TimerHeapIterator, size_t);
friend TimerHeapIterator operator+(size_t, TimerHeapIterator);
-
+
friend TimerHeapIterator operator-(TimerHeapIterator, size_t);
friend ptrdiff_t operator-(TimerHeapIterator, TimerHeapIterator);
@@ -171,15 +171,15 @@ public:
inline bool TimerHeapLessThanFunction::operator()(const TimerBase* a, const TimerBase* b) const
{
- // The comparisons below are "backwards" because the heap puts the largest
+ // The comparisons below are "backwards" because the heap puts the largest
// element first and we want the lowest time to be the first one in the heap.
double aFireTime = a->m_nextFireTime;
double bFireTime = b->m_nextFireTime;
if (bFireTime != aFireTime)
return bFireTime < aFireTime;
-
- // We need to look at the difference of the insertion orders instead of comparing the two
- // outright in case of overflow.
+
+ // We need to look at the difference of the insertion orders instead of comparing the two
+ // outright in case of overflow.
unsigned difference = a->m_heapInsertionOrder - b->m_heapInsertionOrder;
return difference < numeric_limits<unsigned>::max() / 2;
}
« no previous file with comments | « Source/core/platform/Timer.h ('k') | Source/core/platform/Widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698