diff options
author | tfarina <tfarina@chromium.org> | 2015-04-08 16:48:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-08 23:49:21 +0000 |
commit | 3bc54dcf2b0d9f5e2b698af0f9061bba19a4bee1 (patch) | |
tree | 0a2349be9083116c259f5aeecb3c2a3f87caf194 /gpu | |
parent | 808706e71c213c916815e967e3156cae64d12c00 (diff) | |
download | chromium_src-3bc54dcf2b0d9f5e2b698af0f9061bba19a4bee1.zip chromium_src-3bc54dcf2b0d9f5e2b698af0f9061bba19a4bee1.tar.gz chromium_src-3bc54dcf2b0d9f5e2b698af0f9061bba19a4bee1.tar.bz2 |
android: Pass cc::ContextProvider to VideoContextProvider.
Instead of creating it under VideoContextProvider, which makes
refactoring this code harder, create it outside and pass it through
parameter.
This should help ease the transition of
https://codereview.chromium.org/920443003.
Tested on Android (with Nexus 5 device) with the following command
lines:
$ ./build/gyp_chromium -DOS=android -Goutput_dir=out_android
$ ninja -C out_android/Debug content_unittests content_unittests_apk
$ export CHROMIUM_OUT_DIR=out_android
$ build/android/test_runner.py gtest -s content_unittests --debug
AndroidWebView tests:
$ ninja -C out_android/Debug android_webview_apk android_webview_test_apk
$ build/android/adb_install_apk.py --apk=AndroidWebView.apk --debug
$ build/android/test_runner.py instrumentation --test-apk=AndroidWebViewTest
--test_data webview:android_webview/test/data/device_files --debug
BUG=338338
TEST=see above
R=boliu@chromium.org
Review URL: https://codereview.chromium.org/1064263002
Cr-Commit-Position: refs/heads/master@{#324309}
Diffstat (limited to 'gpu')
0 files changed, 0 insertions, 0 deletions