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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp

Issue 2809543002: bindings: Pass is_null flag to attribute setters when they are nullable (Closed)
Patch Set: Created 3 years, 8 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 | « third_party/WebKit/Source/core/html/HTMLInputElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
index 6e5f91c1c4ff042e2c3a8453d26e6698bea0bce1..9e81eeccb164dc291cb50ef3a3aaceeef8293720 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
@@ -267,7 +267,7 @@ Response InspectorAnimationAgent::setPaused(
double current_time =
clone->timeline()->currentTime() - clone->startTime();
clone->pause();
- clone->setCurrentTime(current_time);
+ clone->setCurrentTime(current_time, false);
} else if (!paused && clone->Paused()) {
clone->Unpause();
}
@@ -323,7 +323,7 @@ blink::Animation* InspectorAnimationAgent::AnimationClone(
id_to_animation_clone_.Set(id, clone);
id_to_animation_.Set(String::Number(clone->SequenceNumber()), clone);
clone->play();
- clone->setStartTime(animation->startTime());
+ clone->setStartTime(animation->startTime(), false);
animation->SetEffectSuppressed(true);
}
@@ -344,7 +344,7 @@ Response InspectorAnimationAgent::seekAnimations(
return Response::Error("Failed to clone a detached animation.");
if (!clone->Paused())
clone->play();
- clone->setCurrentTime(current_time);
+ clone->setCurrentTime(current_time, false);
}
return Response::OK();
}
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLInputElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698