summaryrefslogtreecommitdiffstats
path: root/cc/frame_rate_counter.h
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-19 21:22:42 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-19 21:22:42 +0000
commitc753e25a8b4366c44134a8c21b9ed3392bf48608 (patch)
treef378c8a762caccf60856a1670ae33dfd638b9453 /cc/frame_rate_counter.h
parent503160f80568f024fa712e280bb1a4e1e6ca1ec3 (diff)
downloadchromium_src-c753e25a8b4366c44134a8c21b9ed3392bf48608.zip
chromium_src-c753e25a8b4366c44134a8c21b9ed3392bf48608.tar.gz
chromium_src-c753e25a8b4366c44134a8c21b9ed3392bf48608.tar.bz2
Revert "cc: Rename cc classes and members to match filenames"
This reverts commit 184fac5add06d5f4670fa6be4a4d3b39232d51bb. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163059 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/frame_rate_counter.h')
-rw-r--r--cc/frame_rate_counter.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cc/frame_rate_counter.h b/cc/frame_rate_counter.h
index 008c2f3..3196c28 100644
--- a/cc/frame_rate_counter.h
+++ b/cc/frame_rate_counter.h
@@ -13,9 +13,9 @@ namespace cc {
// This class maintains a history of timestamps, and provides functionality to
// intelligently compute average frames per second (and standard deviation).
-class FrameRateCounter {
+class CCFrameRateCounter {
public:
- static scoped_ptr<FrameRateCounter> create();
+ static scoped_ptr<CCFrameRateCounter> create();
void markBeginningOfFrame(base::TimeTicks timestamp);
void markEndOfFrame();
@@ -34,7 +34,7 @@ public:
int droppedFrameCount() const { return m_droppedFrameCount; }
private:
- FrameRateCounter();
+ CCFrameRateCounter();
base::TimeDelta frameInterval(int frameNumber) const;
int frameIndex(int frameNumber) const;
@@ -58,7 +58,7 @@ private:
int m_droppedFrameCount;
- DISALLOW_COPY_AND_ASSIGN(FrameRateCounter);
+ DISALLOW_COPY_AND_ASSIGN(CCFrameRateCounter);
};
} // namespace cc