Index: content/public/test/mock_render_process_host.cc |
diff --git a/content/public/test/mock_render_process_host.cc b/content/public/test/mock_render_process_host.cc |
index d877d443356d23767f3543f21449683845557195..3c0a66a88f25fbe58f792d86cd971a86131cdefa 100644 |
--- a/content/public/test/mock_render_process_host.cc |
+++ b/content/public/test/mock_render_process_host.cc |
@@ -127,7 +127,7 @@ TransportDIB* MockRenderProcessHost::GetTransportDIB(TransportDIB::Id dib_id) { |
// On Mac, TransportDIBs are always created in the browser, so we cannot map |
// one from a dib_id. |
transport_dib_ = TransportDIB::Create(100 * 100 * 4, 0); |
-#elif defined(OS_ANDROID) |
+#elif defined(OS_ANDROID) || defined(USE_NATIVE_SURFACE_LINUX) |
// On Android, Handles and Ids are the same underlying type. |
transport_dib_ = TransportDIB::Map(dib_id); |
#elif defined(OS_POSIX) |