Chromium Code Reviews| Index: core/include/fxcrt/fx_coordinates.h |
| diff --git a/core/include/fxcrt/fx_coordinates.h b/core/include/fxcrt/fx_coordinates.h |
| index 6ec3b5e1ebb2fd69fb1ecf05f5508f69fe4a1c79..288fa953b77893d6a8b6f3fd87339929dfd08564 100644 |
| --- a/core/include/fxcrt/fx_coordinates.h |
| +++ b/core/include/fxcrt/fx_coordinates.h |
| @@ -537,7 +537,7 @@ struct FX_RECT { |
| int bottom; |
| - FX_RECT() {} |
| + FX_RECT() { left = 0; top = 0; right = 0; bottom = 0; } |
|
Tom Sepez
2015/02/10 23:17:04
nit: prefer initializer list syntax, e.g.
FX_RECT
|
| FX_RECT(int left1, int top1, int right1, int bottom1) |
| { |