| Index: chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java b/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
|
| index 8596a0ec79a67203aa5e5cbd8da8aa4c4fc71364..05c1903a56c74024261149ab3ffb9b29f157a69f 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
|
| @@ -891,6 +891,14 @@ public class Tab
|
| return Color.WHITE;
|
| }
|
|
|
| + /**
|
| + * @return Whether or not the tab can show the static layer.
|
| + */
|
| + public boolean canUseStaticLayer() {
|
| + if (getWebContents() != null) return getWebContents().canUseStaticLayer();
|
| + return true;
|
| + }
|
| +
|
| /**
|
| * @return The current theme color based on the value passed from the web contents and the
|
| * security state.
|
|
|