Commit 2f4c928c authored by Clemens Hammacher's avatar Clemens Hammacher Committed by Commit Bot

[api] Deprecate one {SetFlagsFromString} variant

This deprecates the variant taking an int argument.
Chromium was switched to the size_t variant in
https://crrev.com/c/1583747 and
https://crrev.com/c/1587597. Pdfium was switched here:
https://pdfium-review.googlesource.com/c/pdfium/+/53996

R=ulan@chromium.org

Change-Id: I0f4e007b2edc7a176bd8865600bfd5e70b838c3d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1581640Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61243}
parent 9e86916f
......@@ -8641,9 +8641,8 @@ class V8_EXPORT V8 {
*/
static void SetFlagsFromString(const char* str);
static void SetFlagsFromString(const char* str, size_t length);
V8_DEPRECATE_SOON("use size_t version",
static void SetFlagsFromString(const char* str,
int length));
V8_DEPRECATED("use size_t version",
static void SetFlagsFromString(const char* str, int length));
/**
* Sets V8 flags from the command line.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment