Don't consider a Bluetooth adapter present until it has an address.
[chromium-blink-merge.git] / cc / CCAnimationCurve.cpp
blobb9e80b27b9bfddd04301e7bb6efee30ef3cc9a37
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "config.h"
7 #include "CCAnimationCurve.h"
9 namespace WebCore {
11 const CCFloatAnimationCurve* CCAnimationCurve::toFloatAnimationCurve() const
13 ASSERT(type() == CCAnimationCurve::Float);
14 return static_cast<const CCFloatAnimationCurve*>(this);
17 const CCTransformAnimationCurve* CCAnimationCurve::toTransformAnimationCurve() const
19 ASSERT(type() == CCAnimationCurve::Transform);
20 return static_cast<const CCTransformAnimationCurve*>(this);
23 } // namespace WebCore