Index: ppapi/native_client/src/trusted/plugin/plugin_error.h |
diff --git a/ppapi/native_client/src/trusted/plugin/plugin_error.h b/ppapi/native_client/src/trusted/plugin/plugin_error.h |
index 180b1b09fe79d40b20ab2fb9948e040554b57ad8..f5dea47c29a85bf24ece558b9cccbee324a593e5 100644 |
--- a/ppapi/native_client/src/trusted/plugin/plugin_error.h |
+++ b/ppapi/native_client/src/trusted/plugin/plugin_error.h |
@@ -34,19 +34,6 @@ class ErrorInfo { |
console_message_ = message; |
} |
- // console_message is a part of the error that is logged to |
- // the JavaScript console but is not reported to JavaScript via |
- // the lastError property. This is used to report internal errors which |
- // may easily change in new versions of the browser and we don't want apps |
- // to come to depend on the details of these errors. |
- void SetReportWithConsoleOnlyError(PP_NaClError error_code, |
- const std::string& message, |
- const std::string& console_message) { |
- error_code_ = error_code; |
- message_ = message; |
- console_message_ = message + "; " + console_message; |
- } |
- |
PP_NaClError error_code() const { |
return error_code_; |
} |