Index: cc/layers/video_layer_impl.cc |
diff --git a/cc/layers/video_layer_impl.cc b/cc/layers/video_layer_impl.cc |
index 8251a0948778931489e7b491801aa9edf7ddb862..c2b5afb61518be4505738feb5869510b61ab3e02 100644 |
--- a/cc/layers/video_layer_impl.cc |
+++ b/cc/layers/video_layer_impl.cc |
@@ -205,6 +205,7 @@ void VideoLayerImpl::AppendQuads(RenderPass* render_pass, |
gfx::PointF uv_bottom_right(tex_width_scale, tex_height_scale); |
float opacity[] = {1.0f, 1.0f, 1.0f, 1.0f}; |
bool flipped = false; |
+ bool nearest_neighbor = false; |
TextureDrawQuad* texture_quad = |
render_pass->CreateAndAppendDrawQuad<TextureDrawQuad>(); |
texture_quad->SetNew(shared_quad_state, |
@@ -217,7 +218,8 @@ void VideoLayerImpl::AppendQuads(RenderPass* render_pass, |
uv_bottom_right, |
SK_ColorTRANSPARENT, |
opacity, |
- flipped); |
+ flipped, |
+ nearest_neighbor); |
break; |
} |
case VideoFrameExternalResources::YUV_RESOURCE: { |
@@ -254,6 +256,7 @@ void VideoLayerImpl::AppendQuads(RenderPass* render_pass, |
gfx::PointF uv_bottom_right(tex_width_scale, tex_height_scale); |
float opacity[] = {1.0f, 1.0f, 1.0f, 1.0f}; |
bool flipped = false; |
+ bool nearest_neighbor = false; |
TextureDrawQuad* texture_quad = |
render_pass->CreateAndAppendDrawQuad<TextureDrawQuad>(); |
texture_quad->SetNew(shared_quad_state, |
@@ -266,7 +269,8 @@ void VideoLayerImpl::AppendQuads(RenderPass* render_pass, |
uv_bottom_right, |
SK_ColorTRANSPARENT, |
opacity, |
- flipped); |
+ flipped, |
+ nearest_neighbor); |
break; |
} |
case VideoFrameExternalResources::STREAM_TEXTURE_RESOURCE: { |