@@ -56,8 +56,8 @@ static jclass class_mutable_parallelogram = nullptr;
5656static jmethodID method_mutable_parallelogram_set_center_dim_rot_shear =
5757 nullptr ;
5858
59- static jclass class_brush_native = nullptr ;
60- static jmethodID method_brush_native_compose_color_long_from_components =
59+ static jclass class_color_native = nullptr ;
60+ static jmethodID method_color_native_compose_color_long_from_components =
6161 nullptr ;
6262
6363static jclass class_input_tool_type = nullptr ;
@@ -134,8 +134,8 @@ void UnloadJvmInterface(JNIEnv* env) {
134134 DeleteCachedClass (env, class_mutable_parallelogram);
135135 method_mutable_parallelogram_set_center_dim_rot_shear = nullptr ;
136136
137- DeleteCachedClass (env, class_brush_native );
138- method_brush_native_compose_color_long_from_components = nullptr ;
137+ DeleteCachedClass (env, class_color_native );
138+ method_color_native_compose_color_long_from_components = nullptr ;
139139
140140 DeleteCachedClass (env, class_input_tool_type);
141141 method_input_tool_type_from = nullptr ;
@@ -342,21 +342,21 @@ jmethodID MethodMutableParallelogramSetCenterDimensionsRotationInDegreesAndSkew(
342342 return method_mutable_parallelogram_set_center_dim_rot_shear;
343343}
344344
345- jclass ClassBrushNative (JNIEnv* env) {
346- if (class_brush_native == nullptr ) {
347- class_brush_native =
348- FindAndCacheClass (env, INK_PACKAGE " /brush/BrushNative " );
345+ jclass ClassColorNative (JNIEnv* env) {
346+ if (class_color_native == nullptr ) {
347+ class_color_native =
348+ FindAndCacheClass (env, INK_PACKAGE " /brush/ColorNative " );
349349 }
350- return class_brush_native ;
350+ return class_color_native ;
351351}
352352
353- jmethodID MethodBrushNativeComposeColorLongFromComponents (JNIEnv* env) {
354- if (method_brush_native_compose_color_long_from_components == nullptr ) {
355- method_brush_native_compose_color_long_from_components =
356- GetStaticMethodId (env, ClassBrushNative (env),
353+ jmethodID MethodColorNativeComposeColorLongFromComponents (JNIEnv* env) {
354+ if (method_color_native_compose_color_long_from_components == nullptr ) {
355+ method_color_native_compose_color_long_from_components =
356+ GetStaticMethodId (env, ClassColorNative (env),
357357 " composeColorLongFromComponents" , " (IFFFF)J" );
358358 }
359- return method_brush_native_compose_color_long_from_components ;
359+ return method_color_native_compose_color_long_from_components ;
360360}
361361
362362jclass ClassInputToolType (JNIEnv* env) {
0 commit comments