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

Unified Diff: android_webview/native/input_stream_unittest.cc

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, more fixes 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: android_webview/native/input_stream_unittest.cc
diff --git a/android_webview/native/input_stream_unittest.cc b/android_webview/native/input_stream_unittest.cc
index 27fa647ffbafe0f740aa429390739914f09ce4e9..e7d21fb7c4f614865400ef73ea68222a5727a02a 100644
--- a/android_webview/native/input_stream_unittest.cc
+++ b/android_webview/native/input_stream_unittest.cc
@@ -35,13 +35,6 @@ class InputStreamTest : public Test {
InputStreamTest() {
}
protected:
- void SetUp() override {
- env_ = AttachCurrentThread();
- ASSERT_THAT(env_, NotNull());
- ASSERT_TRUE(android_webview::RegisterInputStream(env_));
- ASSERT_TRUE(RegisterNativesImpl(env_));
- }
-
scoped_refptr<IOBuffer> DoReadCountedStreamTest(int stream_size,
int bytes_requested,
int* bytes_read) {

Powered by Google App Engine
This is Rietveld 408576698