| Index: sky/engine/bindings-dart/common/ExceptionStatePlaceholder.cpp
|
| diff --git a/sky/engine/bindings/core/v8/ExceptionStatePlaceholder.cpp b/sky/engine/bindings-dart/common/ExceptionStatePlaceholder.cpp
|
| similarity index 86%
|
| copy from sky/engine/bindings/core/v8/ExceptionStatePlaceholder.cpp
|
| copy to sky/engine/bindings-dart/common/ExceptionStatePlaceholder.cpp
|
| index cad268893d11ad5decf93d8a352554d891bbe20d..1e8c8059ec827b84c9fa550c54a125efa2a42aab 100644
|
| --- a/sky/engine/bindings/core/v8/ExceptionStatePlaceholder.cpp
|
| +++ b/sky/engine/bindings-dart/common/ExceptionStatePlaceholder.cpp
|
| @@ -28,15 +28,15 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#include "sky/engine/config.h"
|
| -#include "sky/engine/bindings/core/v8/ExceptionStatePlaceholder.h"
|
| +#include "config.h"
|
| +#include "bindings/common/ExceptionStatePlaceholder.h"
|
|
|
| namespace blink {
|
|
|
| #if ENABLE(ASSERT)
|
|
|
| NoExceptionStateAssertionChecker::NoExceptionStateAssertionChecker(const char* file, int line)
|
| - : ExceptionState(ExceptionState::UnknownContext, 0, 0, v8::Handle<v8::Object>(), 0)
|
| + : ExceptionState()
|
| , m_file(file)
|
| , m_line(line) { }
|
|
|
| @@ -55,6 +55,16 @@ void NoExceptionStateAssertionChecker::throwSecurityError(const String&, const S
|
| ASSERT_AT(false, m_file, m_line, "");
|
| }
|
|
|
| +void NoExceptionStateAssertionChecker::throwRangeError(const String&)
|
| +{
|
| + ASSERT_AT(false, m_file, m_line, "");
|
| +}
|
| +
|
| +void NoExceptionStateAssertionChecker::rethrowV8Exception(v8::Handle<v8::Value> value)
|
| +{
|
| + ASSERT_AT(false, m_file, m_line, "");
|
| +}
|
| +
|
| #endif
|
|
|
| } // namespace blink
|
|
|