| Index: cc/heads_up_display_layer.cc
|
| diff --git a/cc/heads_up_display_layer.cc b/cc/heads_up_display_layer.cc
|
| index ef11deecaec42f4ce08121046f0d35e2a4a82da0..374e650e777ff5f346219341b07535ec9b93fd95 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);
|
|
|