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

Unified Diff: include/v8.h

Issue 1149633003: Introduce a new gyp flag to warn about to be deprecated APIs (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/standalone.gypi ('k') | include/v8config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index 55e86b3de82a55540bdc8dd6a865e7e585d1e75e..9a2ee34f6d733b17343247f83d15785a4a4265fb 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -418,11 +418,11 @@ class WeakCallbackInfo {
V8_INLINE void* GetInternalField(int index) const;
V8_INLINE V8_DEPRECATE_SOON("use indexed version",
- void* GetInternalField1()) const {
+ void* GetInternalField1() const) {
return internal_fields_[0];
}
V8_INLINE V8_DEPRECATE_SOON("use indexed version",
- void* GetInternalField2()) const {
+ void* GetInternalField2() const) {
return internal_fields_[1];
}
@@ -3096,8 +3096,8 @@ class V8_EXPORT Function : public Object {
int length = 0);
V8_DEPRECATE_SOON("Use maybe version",
- Local<Object> NewInstance(int argc,
- Handle<Value> argv[])) const;
+ Local<Object> NewInstance(int argc, Handle<Value> argv[])
+ const);
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
Local<Context> context, int argc, Handle<Value> argv[]) const;
« no previous file with comments | « build/standalone.gypi ('k') | include/v8config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698