Index: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp |
index 61331f8308302508f2389421354e8de745899dbd..42f55c251bf9af0b67276b5c59ea11d635d5b50f 100644 |
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp |
@@ -199,9 +199,6 @@ void OffscreenCanvasFrameDispatcherImpl::dispatchFrame( |
cc::TransferableResource resource; |
resource.id = m_nextResourceId; |
resource.format = cc::ResourceFormat::RGBA_8888; |
- // TODO(crbug.com/645590): filter should respect the image-rendering CSS |
- // property of associated canvas element. |
- resource.filter = GL_LINEAR; |
resource.size = gfx::Size(m_width, m_height); |
// TODO(crbug.com/646022): making this overlay-able. |
resource.is_overlay_candidate = false; |
@@ -276,6 +273,9 @@ void OffscreenCanvasFrameDispatcherImpl::dispatchFrame( |
gfx::Size(), premultipliedAlpha, uvTopLeft, uvBottomRight, |
SK_ColorTRANSPARENT, vertexOpacity, yflipped, nearestNeighbor, |
false); |
+ // TODO(crbug.com/645590): filter should respect the image-rendering CSS |
+ // property of associated canvas element. |
+ quad->nearest_neighbor = false; |
frame.render_pass_list.push_back(std::move(pass)); |