| Index: cc/compositor_support_state.cc
|
| diff --git a/cc/stubs/skia_utils.h b/cc/compositor_support_state.cc
|
| similarity index 51%
|
| copy from cc/stubs/skia_utils.h
|
| copy to cc/compositor_support_state.cc
|
| index fb81f3eec3ad509ebe615790ea4eaf31b7f5f36b..644d53f453b18abfd5dcfbff3db503ab92b9b184 100644
|
| --- a/cc/stubs/skia_utils.h
|
| +++ b/cc/compositor_support_state.cc
|
| @@ -2,16 +2,18 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CC_STUBS_SKIAUTILS_H_
|
| -#define CC_STUBS_SKIAUTILS_H_
|
| +#include "config.h"
|
| +
|
| +#include "cc/compositor_support_state.h"
|
| +
|
| +#include "cc/thread.h"
|
|
|
| namespace cc {
|
|
|
| -inline SkScalar CCFloatToSkScalar(float f)
|
| +CompositorSupportState::CompositorSupportState()
|
| + : mainThread(NULL)
|
| + , implThread(NULL)
|
| {
|
| - return SkFloatToScalar(isfinite(f) ? f : 0);
|
| }
|
|
|
| }
|
| -
|
| -#endif // CC_STUBS_SKIAUTILS_H_
|
|
|