Fix clipping/culling for DelegatedRendererLayer*

OcclusionTracker::unoccludedContentRect was assuming that transform and clip for
the quads matched the one from the layer, which is not true for delegated quads.
Instead, explicitly pass transform & clip, and keep the old behavior as
unoccludedLayerContentRect for tests.

BUG=None


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165017 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/cc/tiled_layer.cc b/cc/tiled_layer.cc
index 6c71c5b9..e9a15a5 100644
--- a/cc/tiled_layer.cc
+++ b/cc/tiled_layer.cc
@@ -371,7 +371,7 @@
                 continue;
             DCHECK(!tile->occluded); // Did resetUpdateState get skipped? Are we doing more than one occlusion pass?
             IntRect visibleTileRect = intersection(m_tiler->tileBounds(i, j), visibleContentRect());
-            if (occlusion && occlusion->occluded(this, visibleTileRect)) {
+            if (occlusion && occlusion->occluded(renderTarget(), visibleTileRect, drawTransform(), drawTransformIsAnimating(), drawableContentRect())) {
                 tile->occluded = true;
                 occludedTileCount++;
             } else {