Index: third_party/WebKit/Source/wtf/Assertions.cpp |
diff --git a/third_party/WebKit/Source/wtf/Assertions.cpp b/third_party/WebKit/Source/wtf/Assertions.cpp |
index b319881e0f36f170b6a96fb18a303661b516cd2f..26ba3221f843973b7bf8c56d0db0e8d510323975 100644 |
--- a/third_party/WebKit/Source/wtf/Assertions.cpp |
+++ b/third_party/WebKit/Source/wtf/Assertions.cpp |
@@ -187,6 +187,10 @@ ScopedLogger::~ScopedLogger() { |
} |
} |
+void ScopedLogger::setPrintFuncForTests(PrintFunctionPtr ptr) { |
+ m_printFunc = ptr; |
+}; |
+ |
void ScopedLogger::init(const char* format, va_list args) { |
current() = this; |
if (m_parent) |