Index: chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_controller.cc |
diff --git a/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_controller.cc b/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_controller.cc |
index 2f56fa51d053371764c02202099b7018024a62cd..dd980bdc7f947ce9b793f6eee34d19725bb8ee1a 100644 |
--- a/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_controller.cc |
+++ b/chrome/browser/chromeos/display/touch_calibrator/touch_calibrator_controller.cc |
@@ -125,6 +125,10 @@ void TouchCalibratorController::OnTouchEvent(ui::TouchEvent* touch) { |
if (target_screen_calibration_view->GetDisplayPointLocation(&display_point)) { |
touch_point_quad_[state_index] = |
std::make_pair(display_point, touch->location()); |
+ } else { |
+ // TODO(malaykeshav): Display some kind of error for the user. |
+ NOTREACHED() << "Touch calibration failed. Could not retrieve location for" |
+ " display point. Retry calibration."; |
} |
// If this is the final state, then store all calibration data and stop |