summaryrefslogtreecommitdiffstats
path: root/cc/tile_priority.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-11 14:47:50 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-11 14:47:50 +0000
commitffaa2a63665d31ba16ab63c2dc447e7543dc5002 (patch)
tree82bee0248de1b78bd1d7efbc5be60f8219e1c090 /cc/tile_priority.h
parente89cfcb9090e8c98129ae9160c513f504db74599 (diff)
downloadchromium_src-ffaa2a63665d31ba16ab63c2dc447e7543dc5002.zip
chromium_src-ffaa2a63665d31ba16ab63c2dc447e7543dc5002.tar.gz
chromium_src-ffaa2a63665d31ba16ab63c2dc447e7543dc5002.tar.bz2
cc: Fix header include guards.
Fixed the files found by the following command lines: $ cpplint.py cc/* 2>&1 | grep header_guard $ cpplint.py cc/test/* 2>&1 | grep header_guard BUG=144576,144577 TEST=cc_unittests TBR=enne@chromium.org,jamesr@chromium.org Review URL: https://chromiumcodereview.appspot.com/11365188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167123 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/tile_priority.h')
-rw-r--r--cc/tile_priority.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/cc/tile_priority.h b/cc/tile_priority.h
index 41c30ac..fd257f0 100644
--- a/cc/tile_priority.h
+++ b/cc/tile_priority.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CC_TILE_PRIORTY_H_
-#define CC_TILE_PRIORTY_H_
+#ifndef CC_TILE_PRIORITY_H_
+#define CC_TILE_PRIORITY_H_
#include "base/memory/ref_counted.h"
#include "cc/picture_pile.h"
@@ -46,7 +46,7 @@ enum TileMemoryLimitPolicy {
};
class GlobalStateThatImpactsTilePriority {
-public:
+ public:
GlobalStateThatImpactsTilePriority()
: memory_limit_policy(ALLOW_NOTHING)
, memory_limit_in_bytes(0)
@@ -70,7 +70,7 @@ public:
class TilePriorityComparator {
public:
TilePriorityComparator(GlobalStateThatImpactsTilePriority& global_state)
- : global_state_(global_state) {}
+ : global_state_(global_state) {}
int compare(const TilePriority& a, const TilePriority& b) {
// TODO(nduca,enne): Implement a comparator using the attributes here.
@@ -82,4 +82,5 @@ class TilePriorityComparator {
};
} // namespace cc
-#endif
+
+#endif // CC_TILE_PRIORITY_H_