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

Unified Diff: content/common/gpu/transport_texture.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/transport_texture.cc
===================================================================
--- content/common/gpu/transport_texture.cc (revision 106774)
+++ 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;
}

Powered by Google App Engine
This is Rietveld 408576698