OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include <stddef.h> |
| 6 |
5 #include "base/at_exit.h" | 7 #include "base/at_exit.h" |
6 #include "base/command_line.h" | 8 #include "base/command_line.h" |
7 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
8 #if defined(OS_MACOSX) | 10 #if defined(OS_MACOSX) |
9 #include "base/mac/scoped_nsautorelease_pool.h" | 11 #include "base/mac/scoped_nsautorelease_pool.h" |
10 #endif | 12 #endif |
11 #if defined(OS_WIN) | 13 #if defined(OS_WIN) |
12 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
13 #endif | 15 #endif |
14 #include "ui/gl/gl_surface.h" | 16 #include "ui/gl/gl_surface.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 argsArray[index+1] = args[index].c_str(); | 49 argsArray[index+1] = args[index].c_str(); |
48 } | 50 } |
49 #endif | 51 #endif |
50 | 52 |
51 GTFMain(static_cast<int>(args.size()+1), | 53 GTFMain(static_cast<int>(args.size()+1), |
52 const_cast<char**>(argsArray.get())); | 54 const_cast<char**>(argsArray.get())); |
53 | 55 |
54 return 0; | 56 return 0; |
55 } | 57 } |
56 | 58 |
OLD | NEW |