[api] Disable copy for PropertyCallbackArguments
Bug: Change-Id: I3a97b303bcb4cbb4835fb5de8c55a21eaaa93504 Reviewed-on: https://chromium-review.googlesource.com/649615 Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Commit-Queue: Franziska Hinkelmann <franzih@chromium.org> Cr-Commit-Position: refs/heads/master@{#47868}
This commit is contained in:
parent
258e42cda6
commit
ccabada6f3
@ -99,7 +99,7 @@ class PropertyCallbackArguments
|
|||||||
DCHECK(values[T::kIsolateIndex]->IsSmi());
|
DCHECK(values[T::kIsolateIndex]->IsSmi());
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The following Call functions wrap the calling of all callbacks to handle
|
* The following Call functions wrap the calling of all callbacks to handle
|
||||||
* calling either the old or the new style callbacks depending on which one
|
* calling either the old or the new style callbacks depending on which one
|
||||||
* has been registered.
|
* has been registered.
|
||||||
@ -141,6 +141,10 @@ class PropertyCallbackArguments
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool PerformSideEffectCheck(Isolate* isolate, Address function);
|
bool PerformSideEffectCheck(Isolate* isolate, Address function);
|
||||||
|
|
||||||
|
// Don't copy PropertyCallbackArguments, because they would both have the
|
||||||
|
// same prev_ pointer.
|
||||||
|
DISALLOW_COPY_AND_ASSIGN(PropertyCallbackArguments);
|
||||||
};
|
};
|
||||||
|
|
||||||
class FunctionCallbackArguments
|
class FunctionCallbackArguments
|
||||||
|
Loading…
Reference in New Issue
Block a user