| Index: cc/video_layer_impl.cc
|
| diff --git a/cc/video_layer_impl.cc b/cc/video_layer_impl.cc
|
| index 05eea675b785f8b58ce7de6e388041fcf08dc7cb..f3717010ee38792f0cdd526a81b5ad92ced59fbe 100644
|
| --- a/cc/video_layer_impl.cc
|
| +++ b/cc/video_layer_impl.cc
|
| @@ -17,6 +17,7 @@
|
| #include "media/filters/skcanvas_video_renderer.h"
|
| #include "third_party/khronos/GLES2/gl2.h"
|
| #include "third_party/khronos/GLES2/gl2ext.h"
|
| +#include "ui/gfx/transform_util.h"
|
|
|
| namespace cc {
|
|
|
| @@ -32,7 +33,7 @@ VideoLayerImpl::VideoLayerImpl(LayerTreeImpl* treeImpl, int id, WebKit::WebVideo
|
| , m_externalTextureResource(0)
|
| {
|
| // This matrix is the default transformation for stream textures, and flips on the Y axis.
|
| - m_streamTextureMatrix = MathUtil::createGfxTransform(
|
| + m_streamTextureMatrix = gfx::CreateGfxTransform(
|
| 1, 0, 0, 0,
|
| 0, -1, 0, 0,
|
| 0, 0, 1, 0,
|
| @@ -405,7 +406,7 @@ void VideoLayerImpl::didReceiveFrame()
|
|
|
| void VideoLayerImpl::didUpdateMatrix(const float matrix[16])
|
| {
|
| - m_streamTextureMatrix = MathUtil::createGfxTransform(
|
| + m_streamTextureMatrix = gfx::CreateGfxTransform(
|
| matrix[0], matrix[1], matrix[2], matrix[3],
|
| matrix[4], matrix[5], matrix[6], matrix[7],
|
| matrix[8], matrix[9], matrix[10], matrix[11],
|
|
|