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

Unified Diff: Source/modules/crypto/Crypto.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/devtools/scripts/closure/compiler.jar ('k') | Source/modules/crypto/Key.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/Crypto.cpp
diff --git a/Source/modules/crypto/Crypto.cpp b/Source/modules/crypto/Crypto.cpp
index fbbebc6249067d2a2a74e9412504de1a52f113a7..1ad5b2f2106a031c92d08ed0484f69216e4a9e96 100644
--- a/Source/modules/crypto/Crypto.cpp
+++ b/Source/modules/crypto/Crypto.cpp
@@ -59,14 +59,14 @@ Crypto::Crypto()
}
// Note: This implementation must be thread-safe, as it is used by workers.
-void Crypto::getRandomValues(ArrayBufferView* array, ExceptionState& es)
+void Crypto::getRandomValues(ArrayBufferView* array, ExceptionState& exceptionState)
{
if (!array || !isIntegerArray(array)) {
- es.throwUninformativeAndGenericDOMException(TypeMismatchError);
+ exceptionState.throwUninformativeAndGenericDOMException(TypeMismatchError);
return;
}
if (array->byteLength() > 65536) {
- es.throwUninformativeAndGenericDOMException(QuotaExceededError);
+ exceptionState.throwUninformativeAndGenericDOMException(QuotaExceededError);
return;
}
cryptographicallyRandomValues(array->baseAddress(), array->byteLength());
« no previous file with comments | « Source/devtools/scripts/closure/compiler.jar ('k') | Source/modules/crypto/Key.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698