8322545: Declare newInsets as static in ThemeReader.cpp

Reviewed-by: serb, aivanov
This commit is contained in:
Rajat Mahajan 2024-01-08 19:58:32 +00:00 committed by Alexey Ivanov
parent 24823ba647
commit d78e8dab93

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -492,7 +492,7 @@ static void rescale(SIZE *size) {
}
}
jobject newInsets(JNIEnv *env, jint top, jint left, jint bottom, jint right) {
static jobject newInsets(JNIEnv *env, jint top, jint left, jint bottom, jint right) {
if (env->EnsureLocalCapacity(2) < 0) {
return NULL;
}