| 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 5b6f25648dc90c36e5c4cbae2a4d370e9ce39205..3e33d312e306675cb108a1c17c20ff2af7d8c1e0 100644
|
| --- a/content/browser/web_contents/web_contents_android.cc
|
| +++ b/content/browser/web_contents/web_contents_android.cc
|
| @@ -104,11 +104,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());
|
|
|