Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/android.py

Issue 2143123004: Access environment variables through Host object instead of directly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased and updated after change for dummy home dir on linux. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/android.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/android.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/android.py
index 4dff0467fde74d7b7e330be062844859cba74a8f..cd7fdfb06127387d6daacfa839bf988a0c1637fe 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/android.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/android.py
@@ -861,8 +861,7 @@ class ChromiumAndroidDriver(driver.Driver):
return kallsyms_cache_path
def _find_or_create_symfs(self):
- environment = self._port.host.copy_current_environment()
- env = environment.to_dictionary()
+ env = self._port.host.environ.copy()
fs = self._port.host.filesystem
if 'ANDROID_SYMFS' in env:

Powered by Google App Engine
This is Rietveld 408576698