summaryrefslogtreecommitdiffstats
path: root/cc/test/tiled_layer_test_common.cc
diff options
context:
space:
mode:
authorshawnsingh@google.com <shawnsingh@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-05 21:41:50 +0000
committershawnsingh@google.com <shawnsingh@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-05 21:41:50 +0000
commitd76806f88db3cf111f2f4bdc6f3cc11f2f865912 (patch)
treec5bf54c04ebc1361e66b604ac4681c6444ac3ed2 /cc/test/tiled_layer_test_common.cc
parent1dea75780652d29648c9cb5747f30bc2100b8fee (diff)
downloadchromium_src-d76806f88db3cf111f2f4bdc6f3cc11f2f865912.zip
chromium_src-d76806f88db3cf111f2f4bdc6f3cc11f2f865912.tar.gz
chromium_src-d76806f88db3cf111f2f4bdc6f3cc11f2f865912.tar.bz2
Organize internal properties of cc/ layer types
One useful way to classify the various properties in cc/ layer data types is: (1) properties given by the user of the cc APIs, and (2) properties that are computed inside of cc code that are needed to correctly draw the layers. This patch organizes properties internally so that as we develop cc code, we are forced to be aware of whether a property is "given" or "computed". Review URL: https://codereview.chromium.org/11280263 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171323 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/tiled_layer_test_common.cc')
-rw-r--r--cc/test/tiled_layer_test_common.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/test/tiled_layer_test_common.cc b/cc/test/tiled_layer_test_common.cc
index 4336eac..2279fe4 100644
--- a/cc/test/tiled_layer_test_common.cc
+++ b/cc/test/tiled_layer_test_common.cc
@@ -125,7 +125,7 @@ void FakeTiledLayer::setTexturePriorities(const PriorityCalculator& calculator)
if (missingTargetRenderSurface) {
clearRenderSurface();
- setRenderTarget(0);
+ drawProperties().render_target = 0;
}
}