diff --git a/core/modules/views/lib/Drupal/views/Tests/ViewsHooksTest.php b/core/modules/views/lib/Drupal/views/Tests/ViewsHooksTest.php
index ad98fa6..2178a3a 100644
--- a/core/modules/views/lib/Drupal/views/Tests/ViewsHooksTest.php
+++ b/core/modules/views/lib/Drupal/views/Tests/ViewsHooksTest.php
@@ -94,6 +94,20 @@ public function testHooks() {
       // .views.inc file is loaded actively.
       $this->moduleHandler->resetImplementations();
     }
+
+    // Test the views_pre_render/views_post_render hooks of the base_theme
+    // to be invoked when rendering the view.
+    $this->container->get('state')->set('views_hook_test_views_pre_render', FALSE);
+    $this->container->get('state')->set('views_hook_test_views_post_render', FALSE);
+    $base_test = new \stdClass();
+    $base_test->name = 'views_test_data';
+
+    $GLOBALS['base_theme_info'] = array();
+    $GLOBALS['base_theme_info']['test'] = $base_test;
+    $view->render();
+
+    $this->assertTrue($this->container->get('state')->get('views_hook_test_views_pre_render'), 'The hook_views_pre_render was invoked in the base theme.');
+    $this->assertTrue($this->container->get('state')->get('views_hook_test_views_post_render'), 'The hook_views_post_render was invoked in the base theme.');
   }
 
 }
diff --git a/core/modules/views/lib/Drupal/views/ViewExecutable.php b/core/modules/views/lib/Drupal/views/ViewExecutable.php
index a8a8dd2..5ff0683 100644
--- a/core/modules/views/lib/Drupal/views/ViewExecutable.php
+++ b/core/modules/views/lib/Drupal/views/ViewExecutable.php
@@ -1310,7 +1310,7 @@ public function render($display_id = NULL) {
 
       // Let the themes play too, because pre render is a very themey thing.
       foreach ($GLOBALS['base_theme_info'] as $base) {
-        $module_handler->invoke($base, 'views_pre_render', array($this));
+        $module_handler->invoke($base->name, 'views_pre_render', array($this));
       }
 
       $module_handler->invoke($GLOBALS['theme'], 'views_pre_render', array($this));
@@ -1332,7 +1332,7 @@ public function render($display_id = NULL) {
 
     // Let the themes play too, because post render is a very themey thing.
     foreach ($GLOBALS['base_theme_info'] as $base) {
-      $module_handler->invoke($base, 'views_post_render', array($this));
+      $module_handler->invoke($base->name, 'views_post_render', array($this));
     }
 
     $module_handler->invoke($GLOBALS['theme'], 'views_post_render', array($this));
