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

Side by Side Diff: Source/bindings/core/v8/ExceptionStatePlaceholder.cpp

Issue 1113523002: Use Local<> instead of Handle<> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « Source/bindings/core/v8/ExceptionStatePlaceholder.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #include "config.h" 31 #include "config.h"
32 #include "bindings/core/v8/ExceptionStatePlaceholder.h" 32 #include "bindings/core/v8/ExceptionStatePlaceholder.h"
33 33
34 namespace blink { 34 namespace blink {
35 35
36 #if ENABLE(ASSERT) 36 #if ENABLE(ASSERT)
37 37
38 NoExceptionStateAssertionChecker::NoExceptionStateAssertionChecker(const char* f ile, int line) 38 NoExceptionStateAssertionChecker::NoExceptionStateAssertionChecker(const char* f ile, int line)
39 : ExceptionState(ExceptionState::UnknownContext, 0, 0, v8::Handle<v8::Object >(), 0) 39 : ExceptionState(ExceptionState::UnknownContext, 0, 0, v8::Local<v8::Object> (), 0)
40 , m_file(file) 40 , m_file(file)
41 , m_line(line) { } 41 , m_line(line) { }
42 42
43 void NoExceptionStateAssertionChecker::throwDOMException(const ExceptionCode&, c onst String&) 43 void NoExceptionStateAssertionChecker::throwDOMException(const ExceptionCode&, c onst String&)
44 { 44 {
45 ASSERT_AT(false, m_file, m_line, ""); 45 ASSERT_AT(false, m_file, m_line, "");
46 } 46 }
47 47
48 void NoExceptionStateAssertionChecker::throwTypeError(const String&) 48 void NoExceptionStateAssertionChecker::throwTypeError(const String&)
49 { 49 {
50 ASSERT_AT(false, m_file, m_line, ""); 50 ASSERT_AT(false, m_file, m_line, "");
51 } 51 }
52 52
53 void NoExceptionStateAssertionChecker::throwSecurityError(const String&, const S tring&) 53 void NoExceptionStateAssertionChecker::throwSecurityError(const String&, const S tring&)
54 { 54 {
55 ASSERT_AT(false, m_file, m_line, ""); 55 ASSERT_AT(false, m_file, m_line, "");
56 } 56 }
57 57
58 #endif 58 #endif
59 59
60 } // namespace blink 60 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/ExceptionStatePlaceholder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698