| Index: content/browser/web_contents/web_contents_android.cc
|
| diff --git a/content/browser/web_contents/web_contents_android.cc b/content/browser/web_contents/web_contents_android.cc
|
| index eff18f919a65abd91711d0f9fdd587bc581f665e..cbbc8bf77ef26375bda61e730860b623d5699f56 100644
|
| --- a/content/browser/web_contents/web_contents_android.cc
|
| +++ b/content/browser/web_contents/web_contents_android.cc
|
| @@ -105,11 +105,12 @@ ScopedJavaLocalRef<jobject> WalkAXTreeDepthFirst(JNIEnv* env,
|
| }
|
|
|
| // Walks over the AXTreeUpdate and creates a light weight snapshot.
|
| -void AXTreeSnapshotCallback(const ScopedJavaGlobalRef<jobject>& callback,
|
| - float scale_factor,
|
| - float y_offset,
|
| - float x_scroll,
|
| - const ui::AXTreeUpdate<ui::AXNodeData>& result) {
|
| +void AXTreeSnapshotCallback(
|
| + const ScopedJavaGlobalRef<jobject>& callback,
|
| + float scale_factor,
|
| + float y_offset,
|
| + float x_scroll,
|
| + const ui::AXTreeUpdate& result) {
|
| JNIEnv* env = base::android::AttachCurrentThread();
|
| if (result.nodes.empty()) {
|
| Java_WebContentsImpl_onAccessibilitySnapshot(env, nullptr, callback.obj());
|
|
|