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

Unified Diff: chrome/browser/android/vr_shell/vr_controller.cc

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years 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/android/vr_shell/vr_controller.cc
diff --git a/chrome/browser/android/vr_shell/vr_controller.cc b/chrome/browser/android/vr_shell/vr_controller.cc
index 6733d25600772a9b07c552932512b5848b77be86..2e6ef947d826310134359c03d38ce56489accca5 100644
--- a/chrome/browser/android/vr_shell/vr_controller.cc
+++ b/chrome/browser/android/vr_shell/vr_controller.cc
@@ -145,7 +145,8 @@ void VrController::UpdateState() {
}
void VrController::UpdateTouchInfo() {
- CHECK(touch_info_ != nullptr) << "touch_info_ not initialized properly.";
+ // touch_info_ not initialized properly.
+ CHECK(touch_info_ != nullptr);
gvr::Vec2f position;
position.x = TouchPosX();
position.y = TouchPosY();
@@ -174,7 +175,8 @@ void VrController::UpdateTouchInfo() {
}
void VrController::Initialize(gvr_context* gvr_context) {
- CHECK(gvr_context != nullptr) << "invalid gvr_context";
+ // invalid gvr_context
+ CHECK(gvr_context != nullptr);
controller_api_.reset(new gvr::ControllerApi);
controller_state_.reset(new gvr::ControllerState);
int32_t options = gvr::ControllerApi::DefaultOptions();

Powered by Google App Engine
This is Rietveld 408576698