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

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

Issue 8416055: Convert some non-debug logging on content/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
« no previous file with comments | « content/common/gpu/gpu_channel.cc ('k') | content/common/gpu/image_transport_surface_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_command_buffer_stub.cc
===================================================================
--- content/common/gpu/gpu_command_buffer_stub.cc (revision 107816)
+++ 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;
}
« no previous file with comments | « content/common/gpu/gpu_channel.cc ('k') | content/common/gpu/image_transport_surface_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698