| Index: chrome/browser/android/compositor/scene_layer/scene_layer.cc
|
| diff --git a/chrome/browser/android/compositor/scene_layer/scene_layer.cc b/chrome/browser/android/compositor/scene_layer/scene_layer.cc
|
| index 33d4c21f08d28ccaed785c502bfedc3c457238cc..5995e97dbb1f4ae8e9c140b0556916364603e5fb 100644
|
| --- a/chrome/browser/android/compositor/scene_layer/scene_layer.cc
|
| +++ b/chrome/browser/android/compositor/scene_layer/scene_layer.cc
|
| @@ -58,7 +58,7 @@ SkColor SceneLayer::GetBackgroundColor() {
|
| return SK_ColorWHITE;
|
| }
|
|
|
| -static jlong Init(JNIEnv* env, jobject jobj) {
|
| +static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& jobj) {
|
| // This will automatically bind to the Java object and pass ownership there.
|
| SceneLayer* tree_provider = new SceneLayer(env, jobj);
|
| return reinterpret_cast<intptr_t>(tree_provider);
|
|
|