Update from https://crrev.com/306901
Includes changes for https://crrev.com/306768
Review URL: https://codereview.chromium.org/783543003
diff --git a/cc/resources/resource_provider.cc b/cc/resources/resource_provider.cc
index fe7cc00..c0e8f1b 100644
--- a/cc/resources/resource_provider.cc
+++ b/cc/resources/resource_provider.cc
@@ -615,7 +615,7 @@
gfx::Size(),
Resource::External,
mailbox.target(),
- GL_LINEAR,
+ mailbox.nearest_neighbor() ? GL_NEAREST : GL_LINEAR,
0,
GL_CLAMP_TO_EDGE,
TextureHintImmutable,