Index: Source/core/inspector/CodeGeneratorInspectorStrings.py |
diff --git a/Source/core/inspector/CodeGeneratorInspectorStrings.py b/Source/core/inspector/CodeGeneratorInspectorStrings.py |
index 94416e7a444f3321b05eb3d3537c71acd9804b14..3fbf6e0b2cda0862abd611c3cea9c594cfafee5d 100644 |
--- a/Source/core/inspector/CodeGeneratorInspectorStrings.py |
+++ b/Source/core/inspector/CodeGeneratorInspectorStrings.py |
@@ -91,7 +91,7 @@ callback_failure_method = ( |
if (error) { |
errorDataValue = $argument; |
} |
- sendIfActive(0, error, errorDataValue.release()); |
+ sendIfActive(nullptr, error, errorDataValue.release()); |
} |
""") |
@@ -496,7 +496,7 @@ InspectorBackendDispatcher::CallbackBase::~CallbackBase() {} |
void InspectorBackendDispatcher::CallbackBase::sendFailure(const ErrorString& error) |
{ |
ASSERT(error.length()); |
- sendIfActive(0, error, PassRefPtr<JSONValue>()); |
+ sendIfActive(nullptr, error, PassRefPtr<JSONValue>()); |
} |
bool InspectorBackendDispatcher::CallbackBase::isActive() |