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

Unified Diff: content/shell/browser/shell_mojo_test_utils_android.cc

Issue 641703002: Rewrite the Android implementation of BatteryMonitor directly in Java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@battery-status-api-to-mojo
Patch Set: Address Ben's comments, update GN build, polish. Created 6 years 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: content/shell/browser/shell_mojo_test_utils_android.cc
diff --git a/content/shell/browser/shell_mojo_test_utils_android.cc b/content/shell/browser/shell_mojo_test_utils_android.cc
index 9ca5a66f264127f289d37d2aca17199cdfb1c1b1..b8c69bd15a46d2b4878ff8b6bbf1719353b218e3 100644
--- a/content/shell/browser/shell_mojo_test_utils_android.cc
+++ b/content/shell/browser/shell_mojo_test_utils_android.cc
@@ -58,8 +58,8 @@ static jobject CreateServiceRegistryPair(JNIEnv* env,
test_environment->wrappers.push_back(wrapper_b);
return Java_ShellMojoTestUtils_makePair(env,
- wrapper_a->GetObjForTesting().obj(),
- wrapper_b->GetObjForTesting().obj())
+ wrapper_a->GetObj().obj(),
+ wrapper_b->GetObj().obj())
.Release();
}

Powered by Google App Engine
This is Rietveld 408576698