Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(417)

Unified Diff: chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc

Issue 2639203007: Update SetPaintToLayer to accept LayerType (Closed)
Patch Set: fix comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..e7c05647a17366d873a2477d6a781341b39948ce 100644
--- a/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc
+++ b/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_view.cc
@@ -456,7 +456,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();
touch_point_view_->layer()->SetFillsBoundsOpaquely(false);
touch_point_view_->layer()->GetAnimator()->AddObserver(this);
touch_point_view_->set_background(
@@ -502,7 +502,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();
completion_message_view_->layer()->SetFillsBoundsOpaquely(false);
completion_message_view_->layer()->GetAnimator()->AddObserver(this);
completion_message_view_->set_background(

Powered by Google App Engine
This is Rietveld 408576698