Index: chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc |
diff --git a/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc b/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc |
index 5f6daed552a930adc1336d59742afc101cf67c0a..b955ee0208f906dc261b7de37aa8d21c8b01f1ba 100644 |
--- a/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc |
+++ b/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc |
@@ -10,6 +10,7 @@ |
#include "ash/shell.h" |
#include "ui/aura/window.h" |
#include "ui/base/resource/resource_bundle.h" |
+#include "ui/compositor/layer_type.h" |
#include "ui/compositor/scoped_layer_animation_settings.h" |
#include "ui/gfx/animation/linear_animation.h" |
#include "ui/gfx/animation/throb_animation.h" |
@@ -456,7 +457,7 @@ void TouchCalibratorView::InitViewContents() { |
touch_point_view_->SetBounds(kTouchPointViewOffset, kTouchPointViewOffset, |
kTapLabelWidth, kTouchPointViewHeight); |
touch_point_view_->SetVisible(false); |
- touch_point_view_->SetPaintToLayer(true); |
+ touch_point_view_->SetPaintToLayer(ui::LAYER_TEXTURED); |
touch_point_view_->layer()->SetFillsBoundsOpaquely(false); |
touch_point_view_->layer()->GetAnimator()->AddObserver(this); |
touch_point_view_->set_background( |
@@ -502,7 +503,7 @@ void TouchCalibratorView::InitViewContents() { |
completion_message_view_ = |
new CompletionMessageView(msg_view_bounds, finish_msg_text); |
completion_message_view_->SetVisible(false); |
- completion_message_view_->SetPaintToLayer(true); |
+ completion_message_view_->SetPaintToLayer(ui::LAYER_TEXTURED); |
completion_message_view_->layer()->SetFillsBoundsOpaquely(false); |
completion_message_view_->layer()->GetAnimator()->AddObserver(this); |
completion_message_view_->set_background( |