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

Unified Diff: content/common/gpu/transport_texture.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/media/omx_video_decode_accelerator.cc ('k') | content/common/handle_enumerator_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/transport_texture.cc
===================================================================
--- content/common/gpu/transport_texture.cc (revision 107816)
+++ content/common/gpu/transport_texture.cc (working copy)
@@ -32,7 +32,7 @@
bool ret = sender_->Send(new GpuTransportTextureHostMsg_CreateTextures(
host_id_, n, width, height, static_cast<int>(format)));
if (!ret) {
- LOG(ERROR) << "GpuTransportTexture_CreateTextures failed";
+ DLOG(ERROR) << "GpuTransportTexture_CreateTextures failed";
}
}
@@ -42,21 +42,21 @@
bool ret = sender_->Send(new GpuTransportTextureHostMsg_ReleaseTextures(
host_id_));
if (!ret) {
- LOG(ERROR) << "GpuTransportTexture_ReleaseTextures failed";
+ DLOG(ERROR) << "GpuTransportTexture_ReleaseTextures failed";
}
}
void TransportTexture::TextureUpdated(int texture_id) {
TextureMap::iterator iter = texture_map_.find(texture_id);
if (iter == texture_map_.end()) {
- LOG(ERROR) << "Texture not found: " << texture_id;
+ DLOG(ERROR) << "Texture not found: " << texture_id;
return;
}
bool ret = sender_->Send(new GpuTransportTextureHostMsg_TextureUpdated(
host_id_, iter->second));
if (!ret) {
- LOG(ERROR) << "GpuTransportTexture_TextureUpdated failed";
+ DLOG(ERROR) << "GpuTransportTexture_TextureUpdated failed";
}
}
@@ -86,7 +86,7 @@
void TransportTexture::OnTexturesCreated(const std::vector<int>& textures) {
bool ret = decoder_->MakeCurrent();
if (!ret) {
- LOG(ERROR) << "Failed to switch context";
+ DLOG(ERROR) << "Failed to switch context";
return;
}
« no previous file with comments | « content/common/gpu/media/omx_video_decode_accelerator.cc ('k') | content/common/handle_enumerator_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698