Style fixes

* Use under_score for variable names in C++
* Use const& when possible
* Line length <= 80
This commit is contained in:
Cheng Zhao 2015-07-23 10:07:58 +08:00
parent ea1b89c699
commit df35700b94
5 changed files with 50 additions and 36 deletions

View file

@ -249,8 +249,8 @@ bool Window::IsFullscreen() {
return window_->IsFullscreen();
}
void Window::SetAspectRatio(double aspectRatio, gfx::Size extraSize) {
window_->SetAspectRatio(aspectRatio, extraSize);
void Window::SetAspectRatio(double aspect_ratio, const gfx::Size& extraSize) {
window_->SetAspectRatio(aspect_ratio, extraSize);
}
void Window::SetBounds(const gfx::Rect& bounds) {