| Index: content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
|
| index e2eebabac8082e7b55b7c1250e9cf4cf6da5d887..ee90f83385f7319444f5435bd7196348b6c1b457 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
|
| @@ -33,7 +33,6 @@ import org.chromium.content_public.browser.SmartClipCallback;
|
| import org.chromium.content_public.browser.WebContents;
|
| import org.chromium.content_public.browser.WebContentsObserver;
|
| import org.chromium.ui.OverscrollRefreshHandler;
|
| -import org.chromium.ui.accessibility.AXTextStyle;
|
| import org.chromium.ui.base.EventForwarder;
|
| import org.chromium.ui.base.WindowAndroid;
|
|
|
| @@ -463,15 +462,12 @@ import java.util.UUID;
|
| @CalledByNative
|
| private static AccessibilitySnapshotNode createAccessibilitySnapshotNode(int parentRelativeLeft,
|
| int parentRelativeTop, int width, int height, boolean isRootNode, String text,
|
| - int color, int bgcolor, float size, int textStyle, String className) {
|
| + int color, int bgcolor, float size, boolean bold, boolean italic, boolean underline,
|
| + boolean lineThrough, String className) {
|
| AccessibilitySnapshotNode node = new AccessibilitySnapshotNode(text, className);
|
|
|
| // if size is smaller than 0, then style information does not exist.
|
| if (size >= 0.0) {
|
| - boolean bold = (textStyle & AXTextStyle.text_style_bold) > 0;
|
| - boolean italic = (textStyle & AXTextStyle.text_style_italic) > 0;
|
| - boolean underline = (textStyle & AXTextStyle.text_style_underline) > 0;
|
| - boolean lineThrough = (textStyle & AXTextStyle.text_style_line_through) > 0;
|
| node.setStyle(color, bgcolor, size, bold, italic, underline, lineThrough);
|
| }
|
| node.setLocationInfo(parentRelativeLeft, parentRelativeTop, width, height, isRootNode);
|
|
|