Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Side by Side Diff: Source/core/rendering/style/StyleDeprecatedFlexibleBoxData.cpp

Issue 207783002: Omit "int" when using "unsigned" modifier (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 10 matching lines...) Expand all
21 21
22 #include "config.h" 22 #include "config.h"
23 #include "core/rendering/style/StyleDeprecatedFlexibleBoxData.h" 23 #include "core/rendering/style/StyleDeprecatedFlexibleBoxData.h"
24 24
25 #include "core/rendering/style/RenderStyle.h" 25 #include "core/rendering/style/RenderStyle.h"
26 26
27 namespace WebCore { 27 namespace WebCore {
28 28
29 StyleDeprecatedFlexibleBoxData::StyleDeprecatedFlexibleBoxData() 29 StyleDeprecatedFlexibleBoxData::StyleDeprecatedFlexibleBoxData()
30 : flex(RenderStyle::initialBoxFlex()) 30 : flex(RenderStyle::initialBoxFlex())
31 , flex_group(RenderStyle::initialBoxFlexGroup()) 31 , flexGroup(RenderStyle::initialBoxFlexGroup())
32 , ordinal_group(RenderStyle::initialBoxOrdinalGroup()) 32 , ordinalGroup(RenderStyle::initialBoxOrdinalGroup())
33 , align(RenderStyle::initialBoxAlign()) 33 , align(RenderStyle::initialBoxAlign())
34 , pack(RenderStyle::initialBoxPack()) 34 , pack(RenderStyle::initialBoxPack())
35 , orient(RenderStyle::initialBoxOrient()) 35 , orient(RenderStyle::initialBoxOrient())
36 , lines(RenderStyle::initialBoxLines()) 36 , lines(RenderStyle::initialBoxLines())
37 { 37 {
38 } 38 }
39 39
40 StyleDeprecatedFlexibleBoxData::StyleDeprecatedFlexibleBoxData(const StyleDeprec atedFlexibleBoxData& o) 40 StyleDeprecatedFlexibleBoxData::StyleDeprecatedFlexibleBoxData(const StyleDeprec atedFlexibleBoxData& o)
41 : RefCounted<StyleDeprecatedFlexibleBoxData>() 41 : RefCounted<StyleDeprecatedFlexibleBoxData>()
42 , flex(o.flex) 42 , flex(o.flex)
43 , flex_group(o.flex_group) 43 , flexGroup(o.flexGroup)
44 , ordinal_group(o.ordinal_group) 44 , ordinalGroup(o.ordinalGroup)
45 , align(o.align) 45 , align(o.align)
46 , pack(o.pack) 46 , pack(o.pack)
47 , orient(o.orient) 47 , orient(o.orient)
48 , lines(o.lines) 48 , lines(o.lines)
49 { 49 {
50 } 50 }
51 51
52 bool StyleDeprecatedFlexibleBoxData::operator==(const StyleDeprecatedFlexibleBox Data& o) const 52 bool StyleDeprecatedFlexibleBoxData::operator==(const StyleDeprecatedFlexibleBox Data& o) const
53 { 53 {
54 return flex == o.flex && flex_group == o.flex_group && 54 return flex == o.flex && flexGroup == o.flexGroup && ordinalGroup == o.ordin alGroup && align == o.align && pack == o.pack && orient == o.orient && lines == o.lines;
55 ordinal_group == o.ordinal_group && align == o.align &&
56 pack == o.pack && orient == o.orient && lines == o.lines;
57 } 55 }
58 56
59 } // namespace WebCore 57 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698