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

Unified Diff: content/common/gpu/gpu_command_buffer_stub.cc

Issue 8370022: Convert the non-debug logging in chrome/common to debug logging. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 2 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: content/common/gpu/gpu_command_buffer_stub.cc
===================================================================
--- content/common/gpu/gpu_command_buffer_stub.cc (revision 106774)
+++ content/common/gpu/gpu_command_buffer_stub.cc (working copy)
@@ -74,7 +74,7 @@
// handler can assume that the context is current.
if (decoder_.get()) {
if (!decoder_->MakeCurrent()) {
- LOG(ERROR) << "Context lost because MakeCurrent failed.";
+ DLOG(ERROR) << "Context lost because MakeCurrent failed.";
command_buffer_->SetContextLostReason(decoder_->GetContextLostReason());
command_buffer_->SetParseError(gpu::error::kLostContext);
if (gfx::GLContext::LosesAllContextsOnContextLost())
@@ -205,7 +205,7 @@
// Ensure the decoder is not destroyed if it is not initialized.
decoder_.reset();
- LOG(ERROR) << "Failed to create surface.\n";
+ DLOG(ERROR) << "Failed to create surface.\n";
OnInitializeFailed(reply_message);
return;
}
@@ -222,7 +222,7 @@
// Ensure the decoder is not destroyed if it is not initialized.
decoder_.reset();
- LOG(ERROR) << "Failed to create context.\n";
+ DLOG(ERROR) << "Failed to create context.\n";
OnInitializeFailed(reply_message);
return;
}
@@ -234,7 +234,7 @@
disallowed_features_,
allowed_extensions_.c_str(),
requested_attribs_)) {
- LOG(ERROR) << "Failed to initialize decoder.";
+ DLOG(ERROR) << "Failed to initialize decoder.";
OnInitializeFailed(reply_message);
return;
}

Powered by Google App Engine
This is Rietveld 408576698