| Index: base/cpp101/hello_world.cc
|
| diff --git a/ui/gfx/text_utils_android.cc b/base/cpp101/hello_world.cc
|
| similarity index 55%
|
| copy from ui/gfx/text_utils_android.cc
|
| copy to base/cpp101/hello_world.cc
|
| index c564b9b1db0e2ce096f1265547a614a94e70bda7..eb0940ef582d0c901af358a632e65dd3eca7f348 100644
|
| --- a/ui/gfx/text_utils_android.cc
|
| +++ b/base/cpp101/hello_world.cc
|
| @@ -2,15 +2,12 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "ui/gfx/text_utils.h"
|
| +#include <stdio.h>
|
|
|
| #include "base/logging.h"
|
|
|
| -namespace gfx {
|
| -
|
| -int GetStringWidth(const base::string16& text, const FontList& font_list) {
|
| - NOTIMPLEMENTED();
|
| +int main(int argc, char* argv[]) {
|
| + CHECK_GT(puts("Hello, world!"), 0);
|
| + LOG(INFO) << "Hello, logging!";
|
| return 0;
|
| }
|
| -
|
| -} // namespace gfx
|
|
|