summaryrefslogtreecommitdiffstats
path: root/core/jni/android_view_RenderNode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/jni/android_view_RenderNode.cpp')
-rw-r--r--core/jni/android_view_RenderNode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/jni/android_view_RenderNode.cpp b/core/jni/android_view_RenderNode.cpp
index 3b6f0eb..ff54fb9 100644
--- a/core/jni/android_view_RenderNode.cpp
+++ b/core/jni/android_view_RenderNode.cpp
@@ -181,11 +181,11 @@ static jboolean android_view_RenderNode_setClipToOutline(JNIEnv* env,
}
static jboolean android_view_RenderNode_setRevealClip(JNIEnv* env,
- jobject clazz, jlong renderNodePtr, jboolean shouldClip, jboolean inverseClip,
+ jobject clazz, jlong renderNodePtr, jboolean shouldClip,
jfloat x, jfloat y, jfloat radius) {
RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr);
renderNode->mutateStagingProperties().mutableRevealClip().set(
- shouldClip, inverseClip, x, y, radius);
+ shouldClip, x, y, radius);
renderNode->setPropertyFieldsDirty(RenderNode::GENERIC);
return true;
}
@@ -485,7 +485,7 @@ static JNINativeMethod gMethods[] = {
{ "nSetOutlineEmpty", "(J)Z", (void*) android_view_RenderNode_setOutlineEmpty },
{ "nSetOutlineNone", "(J)Z", (void*) android_view_RenderNode_setOutlineNone },
{ "nSetClipToOutline", "(JZ)Z", (void*) android_view_RenderNode_setClipToOutline },
- { "nSetRevealClip", "(JZZFFF)Z", (void*) android_view_RenderNode_setRevealClip },
+ { "nSetRevealClip", "(JZFFF)Z", (void*) android_view_RenderNode_setRevealClip },
{ "nSetAlpha", "(JF)Z", (void*) android_view_RenderNode_setAlpha },
{ "nSetHasOverlappingRendering", "(JZ)Z",