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

Unified Diff: cc/animation/animation.cc

Issue 12676029: cc: Fix capitalization style in chromified files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | « cc/animation/animation.h ('k') | cc/animation/layer_animation_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation.cc
diff --git a/cc/animation/animation.cc b/cc/animation/animation.cc
index d81713be06b43acb2e73398701775a25378f4b47..e0e7e7ceaf38b9232c30d148ef2f6a019ea60176 100644
--- a/cc/animation/animation.cc
+++ b/cc/animation/animation.cc
@@ -82,9 +82,9 @@ void Animation::SetRunState(RunState run_state, double monotonic_time) {
if (suspended_)
return;
- char nameBuffer[256];
- base::snprintf(nameBuffer,
- sizeof(nameBuffer),
+ char name_buffer[256];
+ base::snprintf(name_buffer,
+ sizeof(name_buffer),
"%s-%d%s",
s_targetPropertyNames[target_property_],
group_,
@@ -97,7 +97,7 @@ void Animation::SetRunState(RunState run_state, double monotonic_time) {
if (is_waiting_to_start && run_state == Running) {
TRACE_EVENT_ASYNC_BEGIN1(
- "cc", "Animation", this, "Name", TRACE_STR_COPY(nameBuffer));
+ "cc", "Animation", this, "Name", TRACE_STR_COPY(name_buffer));
}
bool was_finished = is_finished();
@@ -115,19 +115,19 @@ void Animation::SetRunState(RunState run_state, double monotonic_time) {
if (!was_finished && is_finished())
TRACE_EVENT_ASYNC_END0("cc", "Animation", this);
- char stateBuffer[256];
- base::snprintf(stateBuffer,
- sizeof(stateBuffer),
+ char state_buffer[256];
+ base::snprintf(state_buffer,
+ sizeof(state_buffer),
"%s->%s",
old_run_state_name,
new_run_state_name);
TRACE_EVENT_INSTANT2("cc",
- "LayerAnimationController::setRunState",
+ "LayerAnimationController::SetRunState",
"Name",
- TRACE_STR_COPY(nameBuffer),
+ TRACE_STR_COPY(name_buffer),
"State",
- TRACE_STR_COPY(stateBuffer));
+ TRACE_STR_COPY(state_buffer));
}
void Animation::Suspend(double monotonic_time) {
« no previous file with comments | « cc/animation/animation.h ('k') | cc/animation/layer_animation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698