Index: android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java |
diff --git a/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java b/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java |
index b36ca16e79077de338b5da1aaab034c81f8d940e..d87b6302986a60a3198532bfbb40e40e25118cbc 100644 |
--- a/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java |
+++ b/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java |
@@ -11,6 +11,9 @@ import android.view.View; |
import android.view.ViewGroup.LayoutParams; |
import android.widget.LinearLayout; |
+import org.chromium.android_webview.AwBrowserProcess; |
+import org.chromium.android_webview.shell.AwShellResourceProvider; |
+ |
/** |
* This is a lightweight activity for tests that only require WebView functionality. |
*/ |
@@ -24,6 +27,9 @@ public class AwTestRunnerActivity extends Activity { |
public void onCreate(Bundle savedInstanceState) { |
super.onCreate(savedInstanceState); |
+ AwShellResourceProvider.registerResources(this); |
+ AwBrowserProcess.loadLibrary(this); |
+ |
mLinearLayout = new LinearLayout(this); |
mLinearLayout.setOrientation(LinearLayout.VERTICAL); |
mLinearLayout.setShowDividers(LinearLayout.SHOW_DIVIDER_MIDDLE); |