diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/pager/Full.php b/core/modules/views/lib/Drupal/views/Plugin/views/pager/Full.php
index 52adb76..45c6ce5 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/pager/Full.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/pager/Full.php
@@ -89,12 +89,13 @@ function render($input) {
       3 => $this->options['tags']['next'],
       4 => $this->options['tags']['last'],
     );
-    $output = theme($pager_theme, array(
-      'tags' => $tags,
-      'element' => $this->options['id'],
-      'parameters' => $input,
-      'quantity' => $this->options['quantity'],
-    ));
+    $output = array(
+      '#theme' => $pager_theme,
+      '#tags' => $tags,
+      '#element' => $this->options['id'],
+      '#parameters' => $input,
+      '#quantity' => $this->options['quantity'],
+    );
     return $output;
   }
 
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/pager/Mini.php b/core/modules/views/lib/Drupal/views/Plugin/views/pager/Mini.php
index edd52d2..c4e6f41 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/pager/Mini.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/pager/Mini.php
@@ -101,11 +101,12 @@ function render($input) {
       1 => $this->options['tags']['previous'],
       3 => $this->options['tags']['next'],
     );
-    $output = theme($this->themeFunctions(), array(
-      'parameters' => $input,
-      'element' => $this->options['id'],
-      'tags' => $tags,
-    ));
+    $output = array(
+      '#theme' => $this->themeFunctions(),
+      '#parameters' => $input,
+      '#element' => $this->options['id'],
+      '#tags' => $tags,
+    );
     return $output;
   }
 
