未验证 提交 d5242ff2 编写于 作者: C Chinmay Garde 提交者: GitHub

Append newlines to EOF of all translation units. (#11654)

We are switching to -Wnewline-eof soon and these will become errors. Anyway, this was undefined behavior.
上级 9d61b9a3
......@@ -148,4 +148,4 @@ void KeyEventHandler::KeyboardHook(GLFWwindow* window,
channel_->Send(event);
}
} // namespace flutter
\ No newline at end of file
} // namespace flutter
......@@ -184,4 +184,4 @@ EGLBoolean AngleSurfaceManager::SwapBuffers(const EGLSurface surface) {
return (eglSwapBuffers(egl_display_, surface));
}
} // namespace flutter
\ No newline at end of file
} // namespace flutter
......@@ -60,4 +60,4 @@ void KeyEventHandler::KeyboardHook(Win32FlutterWindow* window,
channel_->Send(event);
}
} // namespace flutter
\ No newline at end of file
} // namespace flutter
......@@ -325,4 +325,4 @@ void Win32FlutterWindow::DestroyRenderSurface() {
render_surface = EGL_NO_SURFACE;
}
} // namespace flutter
\ No newline at end of file
} // namespace flutter
......@@ -176,4 +176,4 @@ class Win32FlutterWindow : public Win32Window {
} // namespace flutter
#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOW_H_
\ No newline at end of file
#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOW_H_
......@@ -237,4 +237,4 @@ Win32Window* Win32Window::GetThisFromHandle(HWND const window) noexcept {
GetWindowLongPtr(window, GWLP_USERDATA));
}
} // namespace flutter
\ No newline at end of file
} // namespace flutter
......@@ -129,4 +129,4 @@ class Win32Window {
} // namespace flutter
#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WIN32_WINDOW_H_
\ No newline at end of file
#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WIN32_WINDOW_H_
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册