| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // TODO(port): the ifdefs in here are a first step towards trying to determine | 5 // TODO(port): the ifdefs in here are a first step towards trying to determine |
| 6 // the correct abstraction for all the OS functionality required at this | 6 // the correct abstraction for all the OS functionality required at this |
| 7 // stage of process initialization. It should not be taken as a final | 7 // stage of process initialization. It should not be taken as a final |
| 8 // abstraction. | 8 // abstraction. |
| 9 | 9 |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 if (strstr(message, "Loading IM context type") || | 168 if (strstr(message, "Loading IM context type") || |
| 169 strstr(message, "wrong ELF class: ELFCLASS64")) { | 169 strstr(message, "wrong ELF class: ELFCLASS64")) { |
| 170 // http://crbug.com/9643 | 170 // http://crbug.com/9643 |
| 171 // Until we have a real 64-bit build or all of these 32-bit package issues | 171 // Until we have a real 64-bit build or all of these 32-bit package issues |
| 172 // are sorted out, don't fatal on ELF 32/64-bit mismatch warnings. | 172 // are sorted out, don't fatal on ELF 32/64-bit mismatch warnings. |
| 173 LOG(ERROR) << "Bug 9643: " << log_domain << ": " << message; | 173 LOG(ERROR) << "Bug 9643: " << log_domain << ": " << message; |
| 174 } else if (strstr(message, "gtk_widget_size_allocate(): attempt to " | 174 } else if (strstr(message, "gtk_widget_size_allocate(): attempt to " |
| 175 "allocate widget with width") && | 175 "allocate widget with width") && |
| 176 !GTK_CHECK_VERSION(2, 16, 1)) { | 176 !GTK_CHECK_VERSION(2, 16, 1)) { |
| 177 // http://crbug.com/11133 | 177 // http://crbug.com/11133 |
| 178 LOG(ERROR) << "Bug 11133"; | |
| 179 } else if (strstr(message, "Theme file for default has no") || | 178 } else if (strstr(message, "Theme file for default has no") || |
| 180 strstr(message, "Theme directory")) { | 179 strstr(message, "Theme directory")) { |
| 181 LOG(ERROR) << "GTK theme error: " << message; | 180 LOG(ERROR) << "GTK theme error: " << message; |
| 182 } else { | 181 } else { |
| 183 #ifdef NDEBUG | 182 #ifdef NDEBUG |
| 184 LOG(ERROR) << log_domain << ": " << message; | 183 LOG(ERROR) << log_domain << ": " << message; |
| 185 #else | 184 #else |
| 186 LOG(FATAL) << log_domain << ": " << message; | 185 LOG(FATAL) << log_domain << ": " << message; |
| 187 #endif | 186 #endif |
| 188 } | 187 } |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 _CrtDumpMemoryLeaks(); | 523 _CrtDumpMemoryLeaks(); |
| 525 #endif // _CRTDBG_MAP_ALLOC | 524 #endif // _CRTDBG_MAP_ALLOC |
| 526 | 525 |
| 527 _Module.Term(); | 526 _Module.Term(); |
| 528 #endif | 527 #endif |
| 529 | 528 |
| 530 logging::CleanupChromeLogging(); | 529 logging::CleanupChromeLogging(); |
| 531 | 530 |
| 532 return rv; | 531 return rv; |
| 533 } | 532 } |
| OLD | NEW |