Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit ba4aed5

Browse files
committed
Update shell_unittests.cc moving namespace to the right scope
1 parent e7519c0 commit ba4aed5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

shell/common/shell_unittests.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@
5353
#include "flutter/vulkan/vulkan_application.h" // nogncheck
5454
#endif
5555

56-
using namespace std::chrono_literals;
57-
5856
// CREATE_NATIVE_ENTRY is leaky by design
5957
// NOLINTBEGIN(clang-analyzer-core.StackAddressEscape)
6058

@@ -747,6 +745,7 @@ TEST_F(ShellTest, FrameRasterizedCallbackIsCalled) {
747745
std::unique_ptr<Shell> shell = CreateShell(settings);
748746

749747
// Wait to make |start| bigger than zero
748+
using namespace std::chrono_literals;
750749
std::this_thread::sleep_for(1ms);
751750

752751
// We MUST put |start| after |CreateShell()| because the clock source will be

0 commit comments

Comments
 (0)