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

Unified Diff: third_party/WebKit/Source/platform/network/NetworkLog.h

Issue 2656053002: NullStream
Patch Set: . Created 3 years, 11 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/network/NetworkLog.h
diff --git a/third_party/WebKit/Source/platform/network/NetworkLog.h b/third_party/WebKit/Source/platform/network/NetworkLog.h
index 1e53e497433667c77b45c68a398ec68dc23bebda..5d6c4d86f996317a01c10da27731ef3c75845272 100644
--- a/third_party/WebKit/Source/platform/network/NetworkLog.h
+++ b/third_party/WebKit/Source/platform/network/NetworkLog.h
@@ -14,7 +14,7 @@
LAZY_STREAM(VLOG_STREAM(verbose_level), \
((verbose_level) <= ::logging::GetVlogLevel("NetworkLog.h")))
#else
-#define NETWORK_DVLOG(verbose_level) EAT_STREAM_PARAMETERS
+#define NETWORK_DVLOG(verbose_level) ::logging::NullStream().stream()
#endif
#endif // NetworkLog_h
« no previous file with comments | « third_party/WebKit/Source/platform/loader/fetch/ResourceLoadingLog.h ('k') | ui/touch_selection/touch_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698