| 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> | 5 #include <stddef.h> |
| 6 | 6 |
| 7 #include "base/at_exit.h" | 7 #include "base/at_exit.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
| 10 #if defined(OS_MACOSX) | 11 #if defined(OS_MACOSX) |
| 11 #include "base/mac/scoped_nsautorelease_pool.h" | 12 #include "base/mac/scoped_nsautorelease_pool.h" |
| 12 #endif | 13 #endif |
| 13 #if defined(OS_WIN) | 14 #if defined(OS_WIN) |
| 14 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
| 15 #endif | 16 #endif |
| 16 #include "ui/gl/gl_surface.h" | 17 #include "ui/gl/gl_surface.h" |
| 17 | 18 |
| 18 extern "C" { | 19 extern "C" { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 49 argsArray[index+1] = args[index].c_str(); | 50 argsArray[index+1] = args[index].c_str(); |
| 50 } | 51 } |
| 51 #endif | 52 #endif |
| 52 | 53 |
| 53 GTFMain(static_cast<int>(args.size()+1), | 54 GTFMain(static_cast<int>(args.size()+1), |
| 54 const_cast<char**>(argsArray.get())); | 55 const_cast<char**>(argsArray.get())); |
| 55 | 56 |
| 56 return 0; | 57 return 0; |
| 57 } | 58 } |
| 58 | 59 |
| OLD | NEW |