From 8743bb82db565c64083aa6a01207af34b4428a96 Mon Sep 17 00:00:00 2001 From: Dan Field Date: Mon, 24 Sep 2018 18:42:04 -0400 Subject: [PATCH] Format for #6324 (#6326) Format code from previous patch --- shell/common/engine.h | 5 +++-- shell/platform/android/android_shell_holder.cc | 3 ++- shell/testing/tester_main.cc | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/shell/common/engine.h b/shell/common/engine.h index e5561d1c8..06436ce36 100644 --- a/shell/common/engine.h +++ b/shell/common/engine.h @@ -32,8 +32,9 @@ class Engine final : public blink::RuntimeDelegate { // Used by Engine::Run enum class RunStatus { Success, // Successful call to Run() - FailureAlreadyRunning, // Isolate was already running; may not be considered a failure by callers - Failure, // Isolate could not be started or other unspecified failure + FailureAlreadyRunning, // Isolate was already running; may not be + // considered a failure by callers + Failure, // Isolate could not be started or other unspecified failure }; class Delegate { diff --git a/shell/platform/android/android_shell_holder.cc b/shell/platform/android/android_shell_holder.cc index fac31e229..f7df86add 100644 --- a/shell/platform/android/android_shell_holder.cc +++ b/shell/platform/android/android_shell_holder.cc @@ -162,7 +162,8 @@ void AndroidShellHolder::Launch(RunConfiguration config) { config = std::move(config) // ]() mutable { FML_LOG(INFO) << "Attempting to launch engine configuration..."; - if (!engine || engine->Run(std::move(config)) == shell::Engine::RunStatus::Failure) { + if (!engine || engine->Run(std::move(config)) == + shell::Engine::RunStatus::Failure) { FML_LOG(ERROR) << "Could not launch engine in configuration."; } else { FML_LOG(INFO) << "Isolate for engine configuration successfully " diff --git a/shell/testing/tester_main.cc b/shell/testing/tester_main.cc index 48d8bdf28..d5c628da7 100644 --- a/shell/testing/tester_main.cc +++ b/shell/testing/tester_main.cc @@ -171,7 +171,8 @@ int RunTester(const blink::Settings& settings, bool run_forever) { fml::MessageLoop::GetCurrent().AddTaskObserver( reinterpret_cast(&completion_observer), [&completion_observer]() { completion_observer.DidProcessTask(); }); - if (engine->Run(std::move(config)) != shell::Engine::RunStatus::Failure) { + if (engine->Run(std::move(config)) != + shell::Engine::RunStatus::Failure) { engine_did_run = true; blink::ViewportMetrics metrics; -- GitLab