Index: Source/core/inspector/InjectedScript.cpp |
diff --git a/Source/core/inspector/InjectedScript.cpp b/Source/core/inspector/InjectedScript.cpp |
index d746427a680b18d51dd287faa03728cbd1ecbd72..cfe7b56cbf4650f4dc4ad9d54860155f0bc39f52 100644 |
--- a/Source/core/inspector/InjectedScript.cpp |
+++ b/Source/core/inspector/InjectedScript.cpp |
@@ -258,7 +258,7 @@ PassRefPtr<TypeBuilder::Runtime::RemoteObject> InjectedScript::wrapObject(const |
bool hadException = false; |
ScriptValue r = callFunctionWithEvalEnabled(wrapFunction, hadException); |
if (hadException) |
- return 0; |
+ return nullptr; |
RefPtr<JSONObject> rawResult = r.toJSONValue(scriptState())->asObject(); |
return TypeBuilder::Runtime::RemoteObject::runtimeCast(rawResult); |
} |
@@ -276,7 +276,7 @@ PassRefPtr<TypeBuilder::Runtime::RemoteObject> InjectedScript::wrapTable(const S |
bool hadException = false; |
ScriptValue r = callFunctionWithEvalEnabled(wrapFunction, hadException); |
if (hadException) |
- return 0; |
+ return nullptr; |
RefPtr<JSONObject> rawResult = r.toJSONValue(scriptState())->asObject(); |
return TypeBuilder::Runtime::RemoteObject::runtimeCast(rawResult); |
} |