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

Unified Diff: Source/core/animation/CompositorAnimationsTest.cpp

Issue 209433004: Do not zero-initialize RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix compilation on gcc and msvc Created 6 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 | « Source/bindings/v8/V8Binding.cpp ('k') | Source/core/animation/css/CSSAnimations.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/CompositorAnimationsTest.cpp
diff --git a/Source/core/animation/CompositorAnimationsTest.cpp b/Source/core/animation/CompositorAnimationsTest.cpp
index 2bd811994e1969fd1b901cf8795b5821840ff4b4..824b187ab0a4594385290869c2808939491cbd51 100644
--- a/Source/core/animation/CompositorAnimationsTest.cpp
+++ b/Source/core/animation/CompositorAnimationsTest.cpp
@@ -150,7 +150,7 @@ public:
PassRefPtrWillBeRawPtr<Keyframe> createDefaultKeyframe(CSSPropertyID id, AnimationEffect::CompositeOperation op, double offset = 0)
{
- RefPtrWillBeRawPtr<AnimatableValue> value;
+ RefPtrWillBeRawPtr<AnimatableValue> value = nullptr;
if (id == CSSPropertyWebkitTransform)
value = AnimatableTransform::create(TransformOperations());
else
@@ -207,7 +207,7 @@ public:
if (!HasFatalFailure()) {
return KeyframeEffectModel::create(frames);
}
- return PassRefPtrWillBeRawPtr<KeyframeEffectModel>();
+ return nullptr;
}
};
« no previous file with comments | « Source/bindings/v8/V8Binding.cpp ('k') | Source/core/animation/css/CSSAnimations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698