diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php
index 1974844..24545ec 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php
@@ -115,7 +115,7 @@ function cache_set_expire($type) {
    *
    * A plugin should override this to provide specialized caching behavior.
    */
-  function cache_set($type) {
+  public function cacheSet($type) {
     switch ($type) {
       case 'query':
         // Not supported currently, but this is certainly where we'd put it.
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/cache/None.php b/core/modules/views/lib/Drupal/views/Plugin/views/cache/None.php
index f510248..d88240a 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/cache/None.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/cache/None.php
@@ -40,11 +40,9 @@ function cache_get($type) {
   }
 
   /**
-   * Overrides \Drupal\views\Plugin\views\cache\CachePluginBase::cache_set().
-   *
-   * Replace the cache set logic so it does set a cache item at all.
+   * {@inheritdoc}
    */
-  function cache_set($type) {
+  public function cacheSet($type) {
   }
 
 }
diff --git a/core/modules/views/lib/Drupal/views/ViewExecutable.php b/core/modules/views/lib/Drupal/views/ViewExecutable.php
index b7b606e..9576695 100644
--- a/core/modules/views/lib/Drupal/views/ViewExecutable.php
+++ b/core/modules/views/lib/Drupal/views/ViewExecutable.php
@@ -1187,7 +1187,7 @@ public function execute($display_id = NULL) {
       // views_plugin_query::execute().
       $this->result = array_values($this->result);
       $this->_postExecute();
-      $cache->cache_set('results');
+      $cache->cacheSet('results');
     }
 
     // Let modules modify the view just after executing it.
@@ -1291,7 +1291,7 @@ public function render($display_id = NULL) {
 
       $this->display_handler->output = $this->display_handler->render();
       if ($cache) {
-        $cache->cache_set('output');
+        $cache->cacheSet('output');
       }
     }
 
