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

Unified Diff: lib/ErrorSupport_cpp.template

Issue 2477823002: [inspector_protocol] remove old style domains support (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
« no previous file with comments | « CodeGenerator.py ('k') | lib/ErrorSupport_h.template » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/ErrorSupport_cpp.template
diff --git a/lib/ErrorSupport_cpp.template b/lib/ErrorSupport_cpp.template
index 34593ec13de84d3f3a948fbb3022f1a645683d81..1d107f697a22cb661c56b43007452a57eb91ce6f 100644
--- a/lib/ErrorSupport_cpp.template
+++ b/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 | « CodeGenerator.py ('k') | lib/ErrorSupport_h.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698