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

Unified Diff: Source/web/WebDocument.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/web/StorageAreaProxy.cpp ('k') | Source/web/WebElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDocument.cpp
diff --git a/Source/web/WebDocument.cpp b/Source/web/WebDocument.cpp
index e571667f99f24768d16fef830a005c324e4dd300..8d7479d624350628d54262bda4bf7579a79b6fb4 100644
--- a/Source/web/WebDocument.cpp
+++ b/Source/web/WebDocument.cpp
@@ -244,9 +244,9 @@ WebElement WebDocument::fullScreenElement() const
WebDOMEvent WebDocument::createEvent(const WebString& eventType)
{
- TrackExceptionState es;
- WebDOMEvent event(unwrap<Document>()->createEvent(eventType, es));
- if (es.hadException())
+ TrackExceptionState exceptionState;
+ WebDOMEvent event(unwrap<Document>()->createEvent(eventType, exceptionState));
+ if (exceptionState.hadException())
return WebDOMEvent();
return event;
}
@@ -258,9 +258,9 @@ WebReferrerPolicy WebDocument::referrerPolicy() const
WebElement WebDocument::createElement(const WebString& tagName)
{
- TrackExceptionState es;
- WebElement element(unwrap<Document>()->createElement(tagName, es));
- if (es.hadException())
+ TrackExceptionState exceptionState;
+ WebElement element(unwrap<Document>()->createElement(tagName, exceptionState));
+ if (exceptionState.hadException())
return WebElement();
return element;
}
@@ -297,10 +297,10 @@ v8::Handle<v8::Value> WebDocument::registerEmbedderCustomElement(const WebString
{
Document* document = unwrap<Document>();
Dictionary dictionary(options, v8::Isolate::GetCurrent());
- TrackExceptionState es;
- ScriptValue constructor = document->registerElement(ScriptState::current(), name, dictionary, es, CustomElement::EmbedderNames);
- ec = es.code();
- if (es.hadException())
+ TrackExceptionState exceptionState;
+ ScriptValue constructor = document->registerElement(ScriptState::current(), name, dictionary, exceptionState, CustomElement::EmbedderNames);
+ ec = exceptionState.code();
+ if (exceptionState.hadException())
return v8::Handle<v8::Value>();
return constructor.v8Value();
}
« no previous file with comments | « Source/web/StorageAreaProxy.cpp ('k') | Source/web/WebElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698