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

Unified Diff: Source/bindings/core/v8/V8ThrowException.h

Issue 1111163003: Replace v8::Handle<> with v8::Local<> in bindings/core/v8/* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « Source/bindings/core/v8/V8StringResource.cpp ('k') | Source/bindings/core/v8/V8ThrowException.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8ThrowException.h
diff --git a/Source/bindings/core/v8/V8ThrowException.h b/Source/bindings/core/v8/V8ThrowException.h
index 83953a6f4dbf1df8715fb28aba7d8783629515f7..2f04e692ce67cb52c7060dd5f806ee579ac73da3 100644
--- a/Source/bindings/core/v8/V8ThrowException.h
+++ b/Source/bindings/core/v8/V8ThrowException.h
@@ -34,30 +34,30 @@ namespace blink {
class CORE_EXPORT V8ThrowException {
public:
- static v8::Handle<v8::Value> createDOMException(v8::Isolate* isolate, int ec, const String& message, const v8::Handle<v8::Object>& creationContext)
+ static v8::Local<v8::Value> createDOMException(v8::Isolate* isolate, int ec, const String& message, const v8::Local<v8::Object>& creationContext)
{
return createDOMException(isolate, ec, message, String(), creationContext);
}
- static v8::Handle<v8::Value> createDOMException(v8::Isolate*, int, const String& sanitizedMessage, const String& unsanitizedMessage, const v8::Handle<v8::Object>& creationContext);
+ static v8::Local<v8::Value> createDOMException(v8::Isolate*, int, const String& sanitizedMessage, const String& unsanitizedMessage, const v8::Local<v8::Object>& creationContext);
- static v8::Handle<v8::Value> throwDOMException(int ec, const String& message, const v8::Handle<v8::Object>& creationContext, v8::Isolate* isolate)
+ static v8::Local<v8::Value> throwDOMException(int ec, const String& message, const v8::Local<v8::Object>& creationContext, v8::Isolate* isolate)
{
return throwDOMException(ec, message, String(), creationContext, isolate);
}
- static v8::Handle<v8::Value> throwDOMException(int, const String& sanitizedMessage, const String& unsanitizedMessage, const v8::Handle<v8::Object>& creationContext, v8::Isolate*);
+ static v8::Local<v8::Value> throwDOMException(int, const String& sanitizedMessage, const String& unsanitizedMessage, const v8::Local<v8::Object>& creationContext, v8::Isolate*);
- static v8::Handle<v8::Value> throwException(v8::Handle<v8::Value>, v8::Isolate*);
+ static v8::Local<v8::Value> throwException(v8::Local<v8::Value>, v8::Isolate*);
- static v8::Handle<v8::Value> createGeneralError(v8::Isolate*, const String&);
- static v8::Handle<v8::Value> throwGeneralError(v8::Isolate*, const String&);
- static v8::Handle<v8::Value> createTypeError(v8::Isolate*, const String&);
- static v8::Handle<v8::Value> throwTypeError(v8::Isolate*, const String&);
- static v8::Handle<v8::Value> createRangeError(v8::Isolate*, const String&);
- static v8::Handle<v8::Value> throwRangeError(v8::Isolate*, const String&);
- static v8::Handle<v8::Value> createSyntaxError(v8::Isolate*, const String&);
- static v8::Handle<v8::Value> throwSyntaxError(v8::Isolate*, const String&);
- static v8::Handle<v8::Value> createReferenceError(v8::Isolate*, const String&);
- static v8::Handle<v8::Value> throwReferenceError(v8::Isolate*, const String&);
+ static v8::Local<v8::Value> createGeneralError(v8::Isolate*, const String&);
+ static v8::Local<v8::Value> throwGeneralError(v8::Isolate*, const String&);
+ static v8::Local<v8::Value> createTypeError(v8::Isolate*, const String&);
+ static v8::Local<v8::Value> throwTypeError(v8::Isolate*, const String&);
+ static v8::Local<v8::Value> createRangeError(v8::Isolate*, const String&);
+ static v8::Local<v8::Value> throwRangeError(v8::Isolate*, const String&);
+ static v8::Local<v8::Value> createSyntaxError(v8::Isolate*, const String&);
+ static v8::Local<v8::Value> throwSyntaxError(v8::Isolate*, const String&);
+ static v8::Local<v8::Value> createReferenceError(v8::Isolate*, const String&);
+ static v8::Local<v8::Value> throwReferenceError(v8::Isolate*, const String&);
};
} // namespace blink
« no previous file with comments | « Source/bindings/core/v8/V8StringResource.cpp ('k') | Source/bindings/core/v8/V8ThrowException.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698