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

Unified Diff: Source/core/platform/PODIntervalTree.h

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/PODFreeListArena.h ('k') | Source/core/platform/PODRedBlackTree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/PODIntervalTree.h
diff --git a/Source/core/platform/PODIntervalTree.h b/Source/core/platform/PODIntervalTree.h
index 1a3e5f6dbe2ce729c3134c49e3972793e8fe73b0..b3e11e2b5941db69abb97e44be2e87969b066096 100644
--- a/Source/core/platform/PODIntervalTree.h
+++ b/Source/core/platform/PODIntervalTree.h
@@ -44,14 +44,14 @@ template <class T, class UserData = void*>
class PODIntervalSearchAdapter {
public:
typedef PODInterval<T, UserData> IntervalType;
-
+
PODIntervalSearchAdapter(Vector<IntervalType>& result, const T& lowValue, const T& highValue)
: m_result(result)
, m_lowValue(lowValue)
, m_highValue(highValue)
{
}
-
+
const T& lowValue() const { return m_lowValue; }
const T& highValue() const { return m_highValue; }
void collectIfNeeded(const IntervalType& data) const
@@ -83,7 +83,7 @@ public:
{
init();
}
-
+
PODIntervalTree()
: PODRedBlackTree<IntervalType>()
{
@@ -116,7 +116,7 @@ public:
IntervalSearchAdapterType adapter(result, interval.low(), interval.high());
searchForOverlapsFrom<IntervalSearchAdapterType>(this->root(), adapter);
}
-
+
template <class AdapterType>
void allOverlapsWithAdapter(AdapterType& adapter) const
{
« no previous file with comments | « Source/core/platform/PODFreeListArena.h ('k') | Source/core/platform/PODRedBlackTree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698