Convert LOG(INFO) to VLOG(1) - views/.
This also removes DEBUG_MENU. I don't think the extra ints are a big deal. They should be optimized away in release mode. Also fixes a spelling error and converts some silly code to using early returns.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3908004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63150 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/views/view.cc b/views/view.cc
index e1a5fef..739fd6ce 100644
--- a/views/view.cc
+++ b/views/view.cc
@@ -988,7 +988,7 @@
buf << L' ';
buf << this;
- LOG(INFO) << buf.str();
+ VLOG(1) << buf.str();
std::cout << buf.str() << std::endl;
for (int i = 0, count = GetChildViewCount(); i < count; ++i)
@@ -1013,7 +1013,7 @@
buf << L' ';
buf << this;
- LOG(INFO) << buf.str();
+ VLOG(1) << buf.str();
std::cout << buf.str() << std::endl;
if (GetChildViewCount() > 0)
@@ -1292,7 +1292,7 @@
#if defined(TOUCH_UI)
bool View::OnTouchEvent(const TouchEvent& event) {
- DLOG(INFO) << "visited the OnTouchEvent";
+ DVLOG(1) << "visited the OnTouchEvent";
return false;
}
#endif