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

Unified Diff: third_party/WebKit/Source/core/animation/Animation.cpp

Issue 2727633006: DevTools: Rename InspectorInstrumentation:: namespace into probe:: (Closed)
Patch Set: Created 3 years, 10 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
Index: third_party/WebKit/Source/core/animation/Animation.cpp
diff --git a/third_party/WebKit/Source/core/animation/Animation.cpp b/third_party/WebKit/Source/core/animation/Animation.cpp
index b015454e6f5eca7d982d953f19983cd8d66b120e..6fa80f83fe2cbd13ad14a62a28f32f07f826147f 100644
--- a/third_party/WebKit/Source/core/animation/Animation.cpp
+++ b/third_party/WebKit/Source/core/animation/Animation.cpp
@@ -110,8 +110,7 @@ Animation::Animation(ExecutionContext* executionContext,
}
m_content->attach(this);
}
- InspectorInstrumentation::didCreateAnimation(m_timeline->document(),
- m_sequenceNumber);
+ probe::didCreateAnimation(m_timeline->document(), m_sequenceNumber);
}
Animation::~Animation() {
@@ -1065,10 +1064,10 @@ Animation::PlayStateUpdateScope::~PlayStateUpdateScope() {
}
m_animation->endUpdatingState();
- if (oldPlayState != newPlayState)
- InspectorInstrumentation::animationPlayStateChanged(
- m_animation->timeline()->document(), m_animation, oldPlayState,
- newPlayState);
+ if (oldPlayState != newPlayState) {
+ probe::animationPlayStateChanged(m_animation->timeline()->document(),
+ m_animation, oldPlayState, newPlayState);
+ }
}
void Animation::addedEventListener(

Powered by Google App Engine
This is Rietveld 408576698