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

Unified Diff: Source/modules/mediastream/RTCSessionDescription.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/modules/mediastream/RTCPeerConnection.cpp ('k') | Source/modules/mediastream/UserMediaRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/RTCSessionDescription.cpp
diff --git a/Source/modules/mediastream/RTCSessionDescription.cpp b/Source/modules/mediastream/RTCSessionDescription.cpp
index 0927559d2a6c765e76e56efe05685cc0c71929df..6458972810362bc590d0c48454e2cf467dee65b3 100644
--- a/Source/modules/mediastream/RTCSessionDescription.cpp
+++ b/Source/modules/mediastream/RTCSessionDescription.cpp
@@ -48,12 +48,12 @@ static String constructIllegalTypeExceptionMessage(const String& type)
return "Illegal value of attribute 'type' : " + type;
}
-PassRefPtr<RTCSessionDescription> RTCSessionDescription::create(const Dictionary& descriptionInitDict, ExceptionState& es)
+PassRefPtr<RTCSessionDescription> RTCSessionDescription::create(const Dictionary& descriptionInitDict, ExceptionState& exceptionState)
{
String type;
bool ok = descriptionInitDict.get("type", type);
if (ok && !verifyType(type)) {
- es.throwDOMException(TypeMismatchError, constructIllegalTypeExceptionMessage(type));
+ exceptionState.throwDOMException(TypeMismatchError, constructIllegalTypeExceptionMessage(type));
return 0;
}
@@ -79,12 +79,12 @@ String RTCSessionDescription::type()
return m_webSessionDescription.type();
}
-void RTCSessionDescription::setType(const String& type, ExceptionState& es)
+void RTCSessionDescription::setType(const String& type, ExceptionState& exceptionState)
{
if (verifyType(type))
m_webSessionDescription.setType(type);
else
- es.throwDOMException(TypeMismatchError, constructIllegalTypeExceptionMessage(type));
+ exceptionState.throwDOMException(TypeMismatchError, constructIllegalTypeExceptionMessage(type));
}
String RTCSessionDescription::sdp()
« no previous file with comments | « Source/modules/mediastream/RTCPeerConnection.cpp ('k') | Source/modules/mediastream/UserMediaRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698