| Index: chrome/browser/android/compositor/scene_layer/static_tab_scene_layer.cc
|
| diff --git a/chrome/browser/android/compositor/scene_layer/static_tab_scene_layer.cc b/chrome/browser/android/compositor/scene_layer/static_tab_scene_layer.cc
|
| index 540a963e25058621091d7c6003e0aa9803ce3f54..d5f16bd7c9713c0457c6e60ff80eb83c268d8798 100644
|
| --- a/chrome/browser/android/compositor/scene_layer/static_tab_scene_layer.cc
|
| +++ b/chrome/browser/android/compositor/scene_layer/static_tab_scene_layer.cc
|
| @@ -73,7 +73,7 @@ void StaticTabSceneLayer::UpdateTabLayer(JNIEnv* env,
|
|
|
| // Set up the content layer and move it to the proper position.
|
| content_layer_->layer()->SetBounds(gfx::Size(width, height));
|
| - content_layer_->layer()->SetPosition(gfx::Point(x, y));
|
| + content_layer_->layer()->SetPosition(gfx::PointF(x, y));
|
| content_layer_->SetProperties(
|
| id, can_use_live_layer, can_use_ntp_fallback, static_to_view_blend,
|
| should_override_content_alpha, content_alpha_override, saturation,
|
| @@ -106,7 +106,7 @@ void StaticTabSceneLayer::UpdateTabLayer(JNIEnv* env,
|
| y += content_viewport_offset.y();
|
| }
|
|
|
| - content_layer_->layer()->SetPosition(gfx::Point(x, y));
|
| + content_layer_->layer()->SetPosition(gfx::PointF(x, y));
|
| content_layer_->layer()->SetIsDrawable(true);
|
|
|
| layer_->AddChild(content_layer_->layer());
|
|
|