summaryrefslogtreecommitdiffstats
path: root/cc/test/layer_tree_test.cc
diff options
context:
space:
mode:
authorchrishtr@chromium.org <chrishtr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-05 03:14:20 +0000
committerchrishtr@chromium.org <chrishtr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-05 03:14:20 +0000
commita25664116cf216f0946ea3f60837ec207effa291 (patch)
treea8cbc599562d72cfea33b4de13d95233d30fb4ed /cc/test/layer_tree_test.cc
parentdc8b94b23ca7993b4004cc82f66cadf37775c3c2 (diff)
downloadchromium_src-a25664116cf216f0946ea3f60837ec207effa291.zip
chromium_src-a25664116cf216f0946ea3f60837ec207effa291.tar.gz
chromium_src-a25664116cf216f0946ea3f60837ec207effa291.tar.bz2
Get rid of graphics layer anchor points, and replace with
transform origin. This is the cc side change that listens to transform origin instead of anchor point. Blink is already populating both fields. BUG=372837 Review URL: https://codereview.chromium.org/295193002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274990 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/layer_tree_test.cc')
-rw-r--r--cc/test/layer_tree_test.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 2aab75c..d21d43e 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -537,7 +537,6 @@ void LayerTreeTest::DoBeginTest() {
void LayerTreeTest::SetupTree() {
if (!layer_tree_host_->root_layer()) {
scoped_refptr<Layer> root_layer = Layer::Create();
- root_layer->SetAnchorPoint(gfx::PointF());
root_layer->SetBounds(gfx::Size(1, 1));
root_layer->SetIsDrawable(true);
layer_tree_host_->SetRootLayer(root_layer);