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

Unified Diff: third_party/WebKit/Source/platform/graphics/LoggingCanvas.cpp

Issue 2905023002: Remove WTFLogAlways() usages from platform/graphics/ (Closed)
Patch Set: Created 3 years, 7 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: third_party/WebKit/Source/platform/graphics/LoggingCanvas.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/LoggingCanvas.cpp b/third_party/WebKit/Source/platform/graphics/LoggingCanvas.cpp
index 818fda7b58e90f99347d670065237ecdc9c324f0..82711719f7b9ee90bc2af0008a86017b18fb09b2 100644
--- a/third_party/WebKit/Source/platform/graphics/LoggingCanvas.cpp
+++ b/third_party/WebKit/Source/platform/graphics/LoggingCanvas.cpp
@@ -918,7 +918,8 @@ String RecordAsDebugString(const PaintRecord* record, const SkRect& bounds) {
}
void ShowPaintRecord(const PaintRecord* record, const SkRect& bounds) {
- WTFLogAlways("%s\n", RecordAsDebugString(record, bounds).Utf8().data());
+ LOG(INFO) << "\n"
tkent 2017/06/14 23:27:11 Use DLOG(). LOG() usage should be avoided.
+ << RecordAsDebugString(record, bounds).Utf8().data() << "\n";
tkent 2017/06/14 23:27:11 The trailing \n is unnecessary.
}
#endif

Powered by Google App Engine
This is Rietveld 408576698