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

Unified Diff: sky/engine/core/dom/custom/CustomElementException.cpp

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months 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
Index: sky/engine/core/dom/custom/CustomElementException.cpp
diff --git a/sky/engine/core/dom/custom/CustomElementException.cpp b/sky/engine/core/dom/custom/CustomElementException.cpp
index 4f794e4e0ecfe209c1a99766b36143ec485cc2a7..61faaccbc33dd5600f778ca07623e72950bf9a9e 100644
--- a/sky/engine/core/dom/custom/CustomElementException.cpp
+++ b/sky/engine/core/dom/custom/CustomElementException.cpp
@@ -31,7 +31,7 @@
#include "sky/engine/config.h"
#include "sky/engine/core/dom/custom/CustomElementException.h"
-#include "sky/engine/bindings/core/v8/ExceptionState.h"
+#include "sky/engine/bindings2/exception_state.h"
#include "sky/engine/core/dom/ExceptionCode.h"
namespace blink {
@@ -45,43 +45,43 @@ void CustomElementException::throwException(Reason reason, const AtomicString& t
{
switch (reason) {
case ConstructorPropertyNotConfigurable:
- exceptionState.throwDOMException(NotSupportedError, preamble(type) + "Prototype constructor property is not configurable.");
+ exceptionState.ThrowDOMException(NotSupportedError, preamble(type) + "Prototype constructor property is not configurable.");
return;
case ContextDestroyedCheckingPrototype:
- exceptionState.throwDOMException(InvalidStateError, preamble(type) + "The context is no longer valid.");
+ exceptionState.ThrowDOMException(InvalidStateError, preamble(type) + "The context is no longer valid.");
return;
case ContextDestroyedCreatingCallbacks:
- exceptionState.throwDOMException(InvalidStateError, preamble(type) + "The context is no longer valid.");
+ exceptionState.ThrowDOMException(InvalidStateError, preamble(type) + "The context is no longer valid.");
return;
case ContextDestroyedRegisteringDefinition:
- exceptionState.throwDOMException(InvalidStateError, preamble(type) + "The context is no longer valid.");
+ exceptionState.ThrowDOMException(InvalidStateError, preamble(type) + "The context is no longer valid.");
return;
case ExtendsIsInvalidName:
- exceptionState.throwDOMException(NotSupportedError, preamble(type) + "The tag name specified in 'extends' is not a valid tag name.");
+ exceptionState.ThrowDOMException(NotSupportedError, preamble(type) + "The tag name specified in 'extends' is not a valid tag name.");
return;
case ExtendsIsCustomElementName:
- exceptionState.throwDOMException(NotSupportedError, preamble(type) + "The tag name specified in 'extends' is a custom element name. Use inheritance instead.");
+ exceptionState.ThrowDOMException(NotSupportedError, preamble(type) + "The tag name specified in 'extends' is a custom element name. Use inheritance instead.");
return;
case InvalidName:
- exceptionState.throwDOMException(SyntaxError, preamble(type) + "The type name is invalid.");
+ exceptionState.ThrowDOMException(SyntaxError, preamble(type) + "The type name is invalid.");
return;
case PrototypeInUse:
- exceptionState.throwDOMException(NotSupportedError, preamble(type) + "The prototype is already in-use as an interface prototype object.");
+ exceptionState.ThrowDOMException(NotSupportedError, preamble(type) + "The prototype is already in-use as an interface prototype object.");
return;
case PrototypeNotAnObject:
- exceptionState.throwDOMException(NotSupportedError, preamble(type) + "The prototype option is not an object.");
+ exceptionState.ThrowDOMException(NotSupportedError, preamble(type) + "The prototype option is not an object.");
return;
case TypeAlreadyRegistered:
- exceptionState.throwDOMException(NotSupportedError, preamble(type) + "A type with that name is already registered.");
+ exceptionState.ThrowDOMException(NotSupportedError, preamble(type) + "A type with that name is already registered.");
return;
}
« no previous file with comments | « sky/engine/core/dom/URLUtilsReadOnly.idl ('k') | sky/engine/core/dom/custom/CustomElementRegistrationContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698