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

Unified Diff: Source/core/fileapi/FileError.cpp

Issue 72363002: Rename es => exceptionState in other than bindings/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Retry Created 7 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 | « Source/core/events/EventTarget.cpp ('k') | Source/core/fileapi/FileReader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fileapi/FileError.cpp
diff --git a/Source/core/fileapi/FileError.cpp b/Source/core/fileapi/FileError.cpp
index 2fa857639e797558711dc01f21cbe81c5dfa5ea7..693b52c3c73a802d9d5c92f5797743e79380452e 100644
--- a/Source/core/fileapi/FileError.cpp
+++ b/Source/core/fileapi/FileError.cpp
@@ -123,18 +123,18 @@ const char* errorCodeToMessage(FileError::ErrorCode code)
} // namespace
-void FileError::throwDOMException(ExceptionState& es, ErrorCode code)
+void FileError::throwDOMException(ExceptionState& exceptionState, ErrorCode code)
{
if (code == FileError::OK)
return;
// SecurityError is special-cased, as we want to route those exceptions through ExceptionState::throwSecurityError.
if (code == FileError::SECURITY_ERR) {
- es.throwSecurityError(FileError::securityErrorMessage);
+ exceptionState.throwSecurityError(FileError::securityErrorMessage);
return;
}
- es.throwDOMException(errorCodeToExceptionCode(code), errorCodeToMessage(code));
+ exceptionState.throwDOMException(errorCodeToExceptionCode(code), errorCodeToMessage(code));
}
FileError::FileError(ErrorCode code)
« no previous file with comments | « Source/core/events/EventTarget.cpp ('k') | Source/core/fileapi/FileReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698