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

Unified Diff: src/IceCompileServer.h

Issue 1168543002: Use report_fatal_error before destroying input object on error. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 7 months 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: src/IceCompileServer.h
diff --git a/src/IceCompileServer.h b/src/IceCompileServer.h
index 5e308605dbc52bd70561a064232b81f1fd4bd143..ed3883b74a24377348ac1f09303b8f5b2972a999 100644
--- a/src/IceCompileServer.h
+++ b/src/IceCompileServer.h
@@ -49,7 +49,7 @@ public:
virtual void run() = 0;
- ErrorCode &getErrorCode() { return LastError; }
+ virtual ErrorCode &getErrorCode() { return LastError; }
void transferErrorCode(ErrorCodes Code) { LastError.assign(Code); }
protected:

Powered by Google App Engine
This is Rietveld 408576698