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

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

Issue 2014483003: Rename OwnPtr::clear() to reset() in core/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/KeyframeEffectTest.cpp
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffectTest.cpp b/third_party/WebKit/Source/core/animation/KeyframeEffectTest.cpp
index d83c4f8fa34d976a24a3776cf47d6fb0a190469d..1545e0f38f73c25dfbcde88ea4b797eff07b7764 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffectTest.cpp
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffectTest.cpp
@@ -368,7 +368,7 @@ TEST_F(KeyframeEffectTest, ElementDestructorClearsAnimationTarget)
KeyframeEffect* animation = KeyframeEffect::create(element.get(), nullptr, timing);
EXPECT_EQ(element.get(), animation->target());
document().timeline().play(animation);
- pageHolder.clear();
+ pageHolder.reset();
element.clear();
}

Powered by Google App Engine
This is Rietveld 408576698