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

Unified Diff: third_party/inspector_protocol/lib/ErrorSupport_cpp.template

Issue 2478853002: Roll third_party/inspector_protocol to ebda02bf94a742a2e26e4f818df1fc77517ac44c (Closed)
Patch Set: Created 4 years, 1 month 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/inspector_protocol/lib/ErrorSupport_cpp.template
diff --git a/third_party/inspector_protocol/lib/ErrorSupport_cpp.template b/third_party/inspector_protocol/lib/ErrorSupport_cpp.template
index 34593ec13de84d3f3a948fbb3022f1a645683d81..1d107f697a22cb661c56b43007452a57eb91ce6f 100644
--- a/third_party/inspector_protocol/lib/ErrorSupport_cpp.template
+++ b/third_party/inspector_protocol/lib/ErrorSupport_cpp.template
@@ -8,17 +8,8 @@
namespace {{namespace}} {
{% endfor %}
-ErrorSupport::ErrorSupport() : m_errorString(nullptr) { }
-ErrorSupport::ErrorSupport(String* errorString) : m_errorString(errorString) { }
-ErrorSupport::~ErrorSupport()
-{
- if (m_errorString && hasErrors()) {
- StringBuilder builder;
- builder.append("Internal error(s): ");
- builder.append(errors());
- *m_errorString = builder.toString();
- }
-}
+ErrorSupport::ErrorSupport() { }
+ErrorSupport::~ErrorSupport() { }
void ErrorSupport::setName(const String& name)
{
« no previous file with comments | « third_party/inspector_protocol/README.v8 ('k') | third_party/inspector_protocol/lib/ErrorSupport_h.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698