Don't clear render surfaces unnecessarily.

As an optimization, we used to clear render surfaces when they were
elided from the RenderSurfaceLayerList. It turns out that these surfaces
are still important from time to time; a scroll child will need to
access the transforms of these surfaces in order to put its clip in the
right space.

This CL retains the layer lists and it also updates RenderSurface to
own a LayerList rather than a RenderSurfaceLayerList (which was always
a bit of a kludge).

[email protected]
BUG=366386

Review URL: https://codereview.chromium.org/250803013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266519 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index f0e1b832..5e4a4018 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -372,6 +372,7 @@
 
   void CreateRenderSurface();
   void ClearRenderSurface();
+  void ClearRenderSurfaceLayerList();
 
   // The contents scale converts from logical, non-page-scaled pixels to target
   // pixels. The contents scale is 1 for the root layer as it is already in