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

Unified Diff: content/app/android/library_loader_hooks.cc

Issue 10703130: Clean up the remaining diff in content/app (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: content/app/android/library_loader_hooks.cc
diff --git a/content/app/android/library_loader_hooks.cc b/content/app/android/library_loader_hooks.cc
index db61cb6ac5b80bb7dad01f31c96989ab5b5aaa46..73c09b5a15ffb86a85d45a3ddb5328472505402e 100644
--- a/content/app/android/library_loader_hooks.cc
+++ b/content/app/android/library_loader_hooks.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+1// Copyright (c) 2012 The Chromium Authors. All rights reserved.
Yaron 2012/07/10 21:21:55 Remove the "1"
michaelbai 2012/07/10 22:02:42 Done.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -32,9 +32,6 @@ base::AtExitManager* g_at_exit_manager = NULL;
jboolean LibraryLoadedOnMainThread(JNIEnv* env, jclass clazz,
jobjectArray init_command_line) {
- // We need the Chrome AtExitManager to be created before we do any tracing or
- // logging.
- g_at_exit_manager = new base::AtExitManager();
InitNativeCommandLineFromJavaArray(env, init_command_line);
CommandLine* command_line = CommandLine::ForCurrentProcess();
@@ -91,6 +88,9 @@ void LibraryLoaderExitHook() {
}
bool RegisterLibraryLoaderEntryHook(JNIEnv* env) {
+ // We need the Chrome AtExitManager to be created at the very beginning.
+ g_at_exit_manager = new base::AtExitManager();
+
return RegisterNativesImpl(env);
}

Powered by Google App Engine
This is Rietveld 408576698