summaryrefslogtreecommitdiffstats
path: root/cc/heads_up_display_layer.cc
diff options
context:
space:
mode:
authorshawnsingh@chromium.org <shawnsingh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-27 08:29:00 +0000
committershawnsingh@chromium.org <shawnsingh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-27 08:29:00 +0000
commitc8686a05e1fa4cb3aa82690d7450791828096840 (patch)
treec43ef1a56ac27a06bc1ed7c069850cf7c6790002 /cc/heads_up_display_layer.cc
parent5006a4185d3a95976ced07022188f9abb48790be (diff)
downloadchromium_src-c8686a05e1fa4cb3aa82690d7450791828096840.zip
chromium_src-c8686a05e1fa4cb3aa82690d7450791828096840.tar.gz
chromium_src-c8686a05e1fa4cb3aa82690d7450791828096840.tar.bz2
Animation code is not yet migrated by this patch, due to WebTransformOperations.
BUG=159972 Review URL: https://codereview.chromium.org/11308153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169609 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/heads_up_display_layer.cc')
-rw-r--r--cc/heads_up_display_layer.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/cc/heads_up_display_layer.cc b/cc/heads_up_display_layer.cc
index ef11dee..374e650 100644
--- a/cc/heads_up_display_layer.cc
+++ b/cc/heads_up_display_layer.cc
@@ -32,8 +32,8 @@ void HeadsUpDisplayLayer::update(ResourceUpdateQueue&, const OcclusionTracker*,
int maxTextureSize = layerTreeHost()->rendererCapabilities().maxTextureSize;
gfx::Size bounds;
- WebKit::WebTransformationMatrix matrix;
- matrix.makeIdentity();
+ gfx::Transform matrix;
+ matrix.MakeIdentity();
if (settings.showPlatformLayerTree || settings.showDebugRects()) {
int width = std::min(maxTextureSize, layerTreeHost()->deviceViewportSize().width());
@@ -41,7 +41,7 @@ void HeadsUpDisplayLayer::update(ResourceUpdateQueue&, const OcclusionTracker*,
bounds = gfx::Size(width, height);
} else {
bounds = gfx::Size(256, 128);
- matrix.translate(layerTreeHost()->deviceViewportSize().width() - 256, 0);
+ matrix.Translate(layerTreeHost()->deviceViewportSize().width() - 256, 0);
}
setBounds(bounds);