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

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

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/style/KeyframeList.h ('k') | Source/core/rendering/style/RenderStyle.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2013 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2013 Apple Inc. All rights reserv ed.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 m_data.access()->outset = outset; 48 m_data.access()->outset = outset;
49 m_data.access()->fill = fill; 49 m_data.access()->fill = fill;
50 m_data.access()->horizontalRule = horizontalRule; 50 m_data.access()->horizontalRule = horizontalRule;
51 m_data.access()->verticalRule = verticalRule; 51 m_data.access()->verticalRule = verticalRule;
52 } 52 }
53 53
54 NinePieceImageData::NinePieceImageData() 54 NinePieceImageData::NinePieceImageData()
55 : fill(false) 55 : fill(false)
56 , horizontalRule(StretchImageRule) 56 , horizontalRule(StretchImageRule)
57 , verticalRule(StretchImageRule) 57 , verticalRule(StretchImageRule)
58 , image(0) 58 , image(nullptr)
59 , imageSlices(Length(100, Percent), Length(100, Percent), Length(100, Percen t), Length(100, Percent)) 59 , imageSlices(Length(100, Percent), Length(100, Percent), Length(100, Percen t), Length(100, Percent))
60 , borderSlices(1.0, 1.0, 1.0, 1.0) 60 , borderSlices(1.0, 1.0, 1.0, 1.0)
61 , outset(Length(0, Fixed), Length(0, Fixed), Length(0, Fixed), Length(0, Fix ed)) 61 , outset(Length(0, Fixed), Length(0, Fixed), Length(0, Fixed), Length(0, Fix ed))
62 { 62 {
63 } 63 }
64 64
65 NinePieceImageData::NinePieceImageData(const NinePieceImageData& other) 65 NinePieceImageData::NinePieceImageData(const NinePieceImageData& other)
66 : RefCounted<NinePieceImageData>() 66 : RefCounted<NinePieceImageData>()
67 , fill(other.fill) 67 , fill(other.fill)
68 , horizontalRule(other.horizontalRule) 68 , horizontalRule(other.horizontalRule)
(...skipping 10 matching lines...) Expand all
79 return StyleImage::imagesEquivalent(image.get(), other.image.get()) 79 return StyleImage::imagesEquivalent(image.get(), other.image.get())
80 && imageSlices == other.imageSlices 80 && imageSlices == other.imageSlices
81 && fill == other.fill 81 && fill == other.fill
82 && borderSlices == other.borderSlices 82 && borderSlices == other.borderSlices
83 && outset == other.outset 83 && outset == other.outset
84 && horizontalRule == other.horizontalRule 84 && horizontalRule == other.horizontalRule
85 && verticalRule == other.verticalRule; 85 && verticalRule == other.verticalRule;
86 } 86 }
87 87
88 } 88 }
OLDNEW
« no previous file with comments | « Source/core/rendering/style/KeyframeList.h ('k') | Source/core/rendering/style/RenderStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698