Skip to content

Commit 25438e2

Browse files
guang-googleAndroid (Google) Code Review
authored andcommitted
Merge "Use CPU upload path in DRT"
2 parents 816b776 + ef4d25c commit 25438e2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,9 @@ public void setDefaultWebSettings(WebView webview) {
916916
settings.setWorkersEnabled(false);
917917
settings.setXSSAuditorEnabled(false);
918918
settings.setPageCacheCapacity(0);
919+
// this enables cpu upload path (as opposed to gpu upload path)
920+
// and it's only meant to be a temporary workaround!
921+
settings.setProperty("enable_cpu_upload_path", "true");
919922
}
920923

921924
private WebView mWebView;

0 commit comments

Comments
 (0)