[api] Remove deprecated method

The method was deprecated in https://crrev.com/c/1581640 (part of M-76).

R=ulan@chromium.org

Bug: v8:9810
Change-Id: I08db459356273239f1d340b8792e2b57857d1076
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1849518
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64188}
This commit is contained in:
Clemens Backes 2019-10-09 12:27:09 +02:00 committed by Commit Bot
parent 6c70ba5db6
commit ebe753234a
2 changed files with 0 additions and 7 deletions

View File

@ -9131,8 +9131,6 @@ class V8_EXPORT V8 {
*/
static void SetFlagsFromString(const char* str);
static void SetFlagsFromString(const char* str, size_t length);
V8_DEPRECATED("use size_t version")
static void SetFlagsFromString(const char* str, int length);
/**
* Sets V8 flags from the command line.

View File

@ -907,11 +907,6 @@ void V8::SetFlagsFromString(const char* str, size_t length) {
i::FlagList::EnforceFlagImplications();
}
void V8::SetFlagsFromString(const char* str, int length) {
CHECK_LE(0, length);
SetFlagsFromString(str, static_cast<size_t>(length));
}
void V8::SetFlagsFromCommandLine(int* argc, char** argv, bool remove_flags) {
i::FlagList::SetFlagsFromCommandLine(argc, argv, remove_flags);
}