Move the content-dependent RecreateLayer logic from aura::Window to RWHVA

aura::Window is the wrong place to reason about all the different types of
external data that can go into layer, its delegate (RWHVA) is better suited. So
move that logic there.

BUG=263068

Review URL: https://chromiumcodereview.appspot.com/23444051

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222735 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index cd3ecdf..7e198151 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -198,10 +198,8 @@
     return false;
   }
   virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE {}
-  virtual scoped_refptr<ui::Texture> CopyTexture() OVERRIDE {
-    NOTREACHED();
-    return scoped_refptr<ui::Texture>();
-  }
+  virtual void DidRecreateLayer(ui::Layer* old_layer,
+                                ui::Layer* new_layer) OVERRIDE {}
 
  private:
   DISALLOW_COPY_AND_ASSIGN(EmptyWindowDelegate);